From 99871491fd3b153784e1d1bb97637c16c20fec96 Mon Sep 17 00:00:00 2001 From: Daniel Rainer <daniel.m.rainer@student.uibk.ac.at> Date: Tue, 1 Mar 2022 22:18:03 +0100 Subject: [PATCH] Move negation to correct location --- .gitlab-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 43ce8e633..f1b916882 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -35,8 +35,8 @@ eslint: script: - npm install # eslint exits 0 on warnings, this is a workaround to exit 1 when warnings are present. - - '! npm run lint | tee lint.log' - - "grep -qE '✖ [0-9]+ problem' lint.log" + - 'npm run lint | tee lint.log' + - "! grep -qE '✖ [0-9]+ problem' lint.log" allow_failure: true needs: [] -- GitLab