Skip to content

Commit

Permalink
fatal error
Browse files Browse the repository at this point in the history
  • Loading branch information
lepture committed Jun 19, 2013
1 parent 3934b13 commit a2778bb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tasks/lib/script.js
Expand Up @@ -97,11 +97,11 @@ exports.init = function(grunt) {
});

if (!fpath) {
grunt.log.error("can't find module " + alias);
grunt.fail.warn("can't find module " + alias);
return [];
}
if (!grunt.file.exists(fpath)) {
grunt.fail.fatal("can't find " + fpath);
grunt.fail.warn("can't find " + fpath);
return [];
}
var data = grunt.file.read(fpath);
Expand Down

0 comments on commit a2778bb

Please sign in to comment.