Skip to content

Commit

Permalink
Improve task not found messaging
Browse files Browse the repository at this point in the history
This advice seems more-likely to be helpful when mistakenly referencing unknown tasks.
  • Loading branch information
soulcutter authored and phated committed Nov 18, 2015
1 parent 7387dec commit 9bc66cc
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/versioned/^4.0.0-alpha.1/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,7 @@ function execute(opts, env) {
});
} catch (err) {
log.error(chalk.red(err.message));
log.error(
'Please check the documentation for proper gulpfile formatting'
);
log.error('To list available tasks, try running: gulp --tasks');
exit(1);
}
});
Expand Down

0 comments on commit 9bc66cc

Please sign in to comment.