Fix eslint invocation in CI

1218-smartplaylist_backend
Georg Krause 2021-10-21 09:02:13 +02:00
rodzic 687a2cfa03
commit e4b11df1ea
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: FD479B9A4D48E632
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -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: