From 321c2fb484d5c7915be2f6f2b40213cf5c46771e Mon Sep 17 00:00:00 2001 From: Artem Bortnikov Date: Mon, 11 Mar 2024 11:46:20 +0200 Subject: [PATCH] fix commit check command Signed-off-by: Artem Bortnikov --- .github/workflows/pipeline.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pipeline.yaml b/.github/workflows/pipeline.yaml index ee01208..a1a92ea 100644 --- a/.github/workflows/pipeline.yaml +++ b/.github/workflows/pipeline.yaml @@ -42,7 +42,7 @@ jobs: - name: Check diff run: | - if [ "$(git diff --ignore-cr-at-eol --ignore-space-at-eol) | wc -l" -gt "0" ]; then + if [ "$(git diff --ignore-cr-at-eol --ignore-space-at-eol | wc -l)" -gt 0 ]; then echo "Uncommitted changes detected:" git diff exit 1