From e4b11df1eaf0e88fa69b0aeff596c5eb5449e34a Mon Sep 17 00:00:00 2001
From: Georg Krause <mail@georg-krause.net>
Date: Thu, 21 Oct 2021 09:02:13 +0200
Subject: [PATCH] Fix eslint invocation in CI

---
 .gitlab-ci.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 1307edb510..5077ac0a32 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:
-- 
GitLab