-
-
Notifications
You must be signed in to change notification settings - Fork 107
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix: Suppress logging when
--tasks-json
, --help
, --version
flag…
- Loading branch information
Showing
10 changed files
with
121 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
{ | ||
"extends": "gulp", | ||
"rules": { | ||
"max-len": [1, 90], | ||
"max-statements": [1, 40], | ||
"no-console": "off" | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
{ | ||
"flags": { | ||
"silent": true, | ||
"gulpfile": "other_folder/gulpfile-exports.babel.js" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
'use strict'; | ||
|
||
var gulp = require('gulp'); | ||
|
||
function noop(cb) { | ||
cb(); | ||
} | ||
|
||
function described(cb) { | ||
cb(); | ||
} | ||
|
||
function delayed(cb) { | ||
setTimeout(cb, 100); | ||
} | ||
|
||
function errorFunction() { | ||
throw new Error('Error!'); | ||
} | ||
function anon(cb) { | ||
cb(); | ||
} | ||
|
||
function notCompleting1() { | ||
// Callback is not called | ||
} | ||
|
||
function notCompleting2() { | ||
// Callback is not called | ||
} | ||
|
||
described.description = 'description'; | ||
|
||
gulp.task('test1', gulp.series(noop)); | ||
gulp.task('test2', gulp.series('test1', noop)); | ||
gulp.task('test3', gulp.series(described)); | ||
gulp.task('test4', gulp.series(errorFunction, anon)); | ||
gulp.task('test5', delayed); | ||
gulp.task('test6', noop); | ||
gulp.task('test7', notCompleting1); | ||
gulp.task('test8', notCompleting2); | ||
|
||
gulp.task('default', gulp.series('test1', 'test3', noop)); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters