Skip to content

Commit

Permalink
Fix lintWarnings gulp parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
muuki88 committed Apr 4, 2024
1 parent 673f44f commit e210f4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ function lint(done) {
'!plugins/**/node_modules/**',
'./*.js'
], { base: './' })
.pipe(eslint({ fix: !argv.nolintfix, quiet: !(typeof argv.lintWarnings === 'boolean' ? argv.lintWarnings : true) }))
.pipe(eslint({ fix: !argv.nolintfix, quiet: argv.lintWarnings === 'false' }))
.pipe(eslint.format('stylish'))
.pipe(eslint.failAfterError())
.pipe(gulpif(isFixed, gulp.dest('./')));
Expand Down

0 comments on commit e210f4e

Please sign in to comment.