fix eslint builds within .gitlab-ci.yml

This commit is contained in:
Mike Greiling 2017-02-14 00:14:28 -06:00
parent db6a29bcf5
commit 215fadbcc8
1 changed files with 2 additions and 2 deletions

View File

@ -327,7 +327,7 @@ lint:javascript:
paths:
- node_modules/
stage: test
image: "node:7.1"
before_script: []
script:
- yarn run eslint
@ -337,7 +337,7 @@ lint:javascript:report:
paths:
- node_modules/
stage: post-test
image: "node:7.1"
before_script: []
script:
- find app/ spec/ -name '*.js' -or -name '*.js.es6' -exec sed --in-place 's|/\* eslint-disable .*\*/||' {} \; # run report over all files
- yarn run eslint-report || true # ignore exit code