Skip to content

Commit

Permalink
update circleci test to not auto-fix lint errors (prebid#3623)
Browse files Browse the repository at this point in the history
  • Loading branch information
jsnellbaker authored and jaiminpanchal27 committed Mar 12, 2019
1 parent 6c48043 commit 1be1488
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,4 @@ jobs:
# run tests!
- run:
name: BrowserStack testing
command: gulp test --browserstack
command: gulp test --browserstack --nolintfix
2 changes: 1 addition & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ function lint(done) {
return file.eslint != null && file.eslint.fixed;
}
return gulp.src(['src/**/*.js', 'modules/**/*.js', 'test/**/*.js'], {base: './'})
.pipe(eslint({fix: true}))
.pipe(gulpif(argv.nolintfix, eslint(), eslint({fix: true})))
.pipe(eslint.format('stylish'))
.pipe(eslint.failAfterError())
.pipe(gulpif(isFixed, gulp.dest('./')));
Expand Down

0 comments on commit 1be1488

Please sign in to comment.