[gnome-shell-extensions] ci: Fix eslint job



commit cdf970d4b682a2ac29fbeb3b828861f91d6cbec8
Author: Florian Müllner <fmuellner gnome org>
Date:   Sun Jan 26 23:37:21 2020 +0100

    ci: Fix eslint job
    
    eslint requires a file/directory, and will fail when the parameter
    is not specified. Unfortunately it only indicates the failure by
    printing its help output, but not via its return value, so our test
    still completes successfully.
    
    https://gitlab.gnome.org/GNOME/gnome-shell-extensions/merge_requests/105

 .gitlab-ci.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 8f6b13a..3e407d2 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -24,7 +24,7 @@ eslint:
   image: registry.gitlab.gnome.org/gnome/gnome-shell/extension-ci:v1
   stage: source_check
   script:
-    - eslint -o $LINT_LOG --no-color || { cat $LINT_LOG; false; }
+    - eslint -o $LINT_LOG extensions --no-color || { cat $LINT_LOG; false; }
   <<: *only_default
   artifacts:
     paths:


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]