diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 1307edb51..5077ac0a3 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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: