Closed
Description
If you run gulp without specifying the task but with a flag (any flag), it will fail.
gulp --production
will fail
gulp default --production
is OK
Here's a test to place in test/test.js
:
test('Regression - Gulp fails when a flag is specified without tasks (GH-5)', function () {
// NOTE: smoke test, this should pass without error
return runGulp('--dev');
});