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