From dca254dca0f6ad1d43b7cfc004c561a5889ed0f3 Mon Sep 17 00:00:00 2001
From: Adar Nimrod <nimrod@shore.co.il>
Date: Sat, 11 Sep 2021 22:47:55 +0300
Subject: [PATCH] Fix the linter check.

The linter changed the usage and doesn't require the --file flag
anymore.
---
 .gitlab-ci.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 6ba3e41..f1deaa3 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -19,7 +19,7 @@ lint templates:
       for template in templates/*.yml
       do
         echo "Checking $template" >&2
-        gitlab-ci-linter --server "$CI_SERVER_URL" --filename "$template" || EXITCODE=1
+        gitlab-ci-linter --server "$CI_SERVER_URL" "$template" || EXITCODE=1
         echo
       done
       [ -z "${EXITCODE:-}" ]
-- 
GitLab