Verified Commit e4b11df1 authored by Georg Krause's avatar Georg Krause
Browse files

Fix eslint invocation in CI

parent 687a2cfa
......@@ -132,7 +132,7 @@ eslint:
# We search for all files ending with .vue or .js in src which changed in relation to develop
# and lint them. This way we focus on some errors instead of checking the hole repository
- export changedFiles=$(git diff --relative --name-only --diff-filter=d origin/develop -- src/ | grep -E "\.(vue|js)$")
- yarn run eslint --quiet -f table $changedFiles
- yarn run eslint --quiet -f table $(echo $changedFiles | tr '\n' ' ')
cache:
key: "$CI_PROJECT_ID__eslint_npm_cache"
paths:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment