Revert "Remove eslint.failAfterError()"
This reverts commit a088e5d03b
.
The commit had been reverted as it was disabling failing the pipeline
in CI on errors. Without the eslint.failAfterError(), the exit status
of gulp was 0.
For solving the issue that the reverted commit was trying to solve,
continue running parallel tasks if one of them fails, gulp needs to
be run with the flag --continue, however note that this flag allows
tasks in series to continue run even if one of them fails.
spacecruft
parent
79efc9a1c3
commit
fee2c8683e
|
@ -16,7 +16,8 @@ gulp.task('js:lint', function() {
|
|||
|
||||
return gulp.src(lintPathsJS)
|
||||
.pipe(eslint())
|
||||
.pipe(eslint.format());
|
||||
.pipe(eslint.format())
|
||||
.pipe(eslint.failAfterError());
|
||||
});
|
||||
|
||||
gulp.task('css:lint', function() {
|
||||
|
|
Loading…
Reference in New Issue