1
0
Fork 0

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
Alfredos-Panagiotis Damkalis 2020-04-22 12:14:20 +03:00
parent 79efc9a1c3
commit fee2c8683e
1 changed files with 2 additions and 1 deletions

View File

@ -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() {