Skip to content

Commit

Permalink
fix commit check command
Browse files Browse the repository at this point in the history
Signed-off-by: Artem Bortnikov <[email protected]>
  • Loading branch information
aobort committed Mar 11, 2024
1 parent 7f7ecb7 commit 321c2fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/pipeline.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 321c2fb

Please sign in to comment.