mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-25 08:03:58 -05:00
correctly report exit code in clangify (#3520)
This commit is contained in:
parent
1ace060e34
commit
37f9f62f03
|
|
@ -56,8 +56,8 @@ done
|
|||
if [[ $CHECK_FORMAT ]]; then
|
||||
echo "Checking your code using clang-format..."
|
||||
diff="$(./clangify.sh --diff --cf-version)"
|
||||
ok=$?
|
||||
case $ok in
|
||||
err=$?
|
||||
case $err in
|
||||
1)
|
||||
cat <<EOM
|
||||
***********************************************************
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user