Skip to content

Commit

Permalink
Add exit
Browse files Browse the repository at this point in the history
  • Loading branch information
flomnes committed Jun 25, 2024
1 parent f4395c0 commit b912840
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/clang-format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ jobs:
- name: git diff
run: |
if [[ `git status --porcelain` ]]; then
echo OK
echo "Code is not well formatted, boo !"
exit 1
else
echo KO
echo "Code is well formatted, congrats !"
fi

0 comments on commit b912840

Please sign in to comment.