Skip to content

Commit 0e36814

Browse files
committed
fix(gulp): don't error on missing hooks
1 parent 33fc34a commit 0e36814

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

lib/cli.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -209,13 +209,13 @@ function logEvents(gulpInst) {
209209
gutil.log(msg);
210210
});
211211

212-
gulpInst.on('task_not_found', function(err) {
213-
gutil.log(
214-
chalk.red('Task \'' + err.task + '\' is not in your gulpfile')
215-
);
216-
gutil.log('Please check the documentation for proper gulpfile formatting');
217-
process.exit(1);
218-
});
212+
// gulpInst.on('task_not_found', function(err) {
213+
// gutil.log(
214+
// chalk.red('Task \'' + err.task + '\' is not in your gulpfile')
215+
// );
216+
// gutil.log('Please check the documentation for proper gulpfile formatting');
217+
// process.exit(1);
218+
// });
219219
}
220220

221221
Cli.getBooleanOptionsForTask = function getBooleanOptionsForTask(task) {

0 commit comments

Comments
 (0)