]> Frank Brehm's Git Trees - pixelpark/python-packaging.git/commitdiff
Fixing gitlab/linter.yaml
authorFrank Brehm <frank@brehm-online.com>
Thu, 29 Dec 2022 10:56:44 +0000 (11:56 +0100)
committerFrank Brehm <frank@brehm-online.com>
Thu, 29 Dec 2022 10:56:44 +0000 (11:56 +0100)
gitlab/linter.yaml

index 183dd4dfa59bdd741a0916cdef606a8f81c95db4..e9298de33602e823fa0b4502634cc359cc8f124d 100644 (file)
@@ -53,8 +53,7 @@ Linter:
     - python --version
     - pip install --upgrade --upgrade-strategy eager flake8 pylint
     - >
-      YAML_FILE_PATHS="";
-      if [[ -f ".gitlab-ci.yml" ]] ; then YAML_FILE_PATHS=".gitlab-ci.yml"; fi;
+      if [[ -f ".gitlab-ci.yml" ]] ; then YAML_FILE_PATHS=".gitlab-ci.yml"; else YAML_FILE_PATHS=""; fi;
       if [[ -d ".github" ]] ; then
           if [[ -z "${YAML_FILE_PATHS}" ]] ; then
               YAML_FILE_PATHS=".github";