Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for 'nonull': 'error' #164

Closed
wants to merge 4 commits into from
Closed

Support for 'nonull': 'error' #164

wants to merge 4 commits into from

Conversation

tkambler
Copy link

@tkambler tkambler commented May 27, 2016

This PR is similar to the one that's been sitting here for nearly two(!) years. It's a simple six line change that allows users to specify that the task should throw an error via grunt.fail.fatal() when a missing file is encountered. It is entirely backwards-compatible. You have three options:

{ 'nonull': false } // Don't warn about missing files
{ 'nonull': true } // Warn about missing files
{ 'nonull': 'error' } // Throw missing files

@tkambler
Copy link
Author

tkambler commented Jun 8, 2016

Test / documentation. Can I get a merge?

@tkambler
Copy link
Author

tkambler commented Jun 9, 2016

If anyone else wants this functionality, FYI - grunt-concat-verify.

@vladikoff vladikoff closed this Mar 22, 2021
@vladikoff vladikoff deleted the branch gruntjs:master March 22, 2021 15:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants