Skip to content

Commit

Permalink
fix(gulp): don't error on missing hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
tlancina committed Mar 28, 2016
1 parent 33fc34a commit 0e36814
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions lib/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -209,13 +209,13 @@ function logEvents(gulpInst) {
gutil.log(msg);
});

gulpInst.on('task_not_found', function(err) {
gutil.log(
chalk.red('Task \'' + err.task + '\' is not in your gulpfile')
);
gutil.log('Please check the documentation for proper gulpfile formatting');
process.exit(1);
});
// gulpInst.on('task_not_found', function(err) {
// gutil.log(
// chalk.red('Task \'' + err.task + '\' is not in your gulpfile')
// );
// gutil.log('Please check the documentation for proper gulpfile formatting');
// process.exit(1);
// });
}

Cli.getBooleanOptionsForTask = function getBooleanOptionsForTask(task) {
Expand Down

0 comments on commit 0e36814

Please sign in to comment.