gulpjs / undertaker

Task registry that allows composition through series/parallel methods.
MIT License
200 stars 31 forks source link

Fix: Improve error messages when resolving tasks #89

Closed devcsrj closed 4 years ago

devcsrj commented 5 years ago

When updating from gulp 3 to 4, this function is the first one to fail when the file contains the old exec chain:

gulp.task('task', ['task2', 'task3'], function() {...});

Prior this commit, the error message is too cryptic. This commit fixes that by specifying in the message, the actual argument it got during precondition.

phated commented 4 years ago

I'm going to close this because I think gulp upgrade messages should actually exist in gulp itself, not the undertaker library, which was created for v4 exclusively.