Skip to content

Commit 1be1488

Browse files
jsnellbakerjaiminpanchal27
authored andcommitted
update circleci test to not auto-fix lint errors (prebid#3623)
1 parent 6c48043 commit 1be1488

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.circleci/config.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,4 +47,4 @@ jobs:
4747
# run tests!
4848
- run:
4949
name: BrowserStack testing
50-
command: gulp test --browserstack
50+
command: gulp test --browserstack --nolintfix

gulpfile.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ function lint(done) {
8383
return file.eslint != null && file.eslint.fixed;
8484
}
8585
return gulp.src(['src/**/*.js', 'modules/**/*.js', 'test/**/*.js'], {base: './'})
86-
.pipe(eslint({fix: true}))
86+
.pipe(gulpif(argv.nolintfix, eslint(), eslint({fix: true})))
8787
.pipe(eslint.format('stylish'))
8888
.pipe(eslint.failAfterError())
8989
.pipe(gulpif(isFixed, gulp.dest('./')));

0 commit comments

Comments
 (0)