Fix and test workflow
This commit is contained in:
parent
c94e0d53bb
commit
09b852d8f0
|
@ -17,7 +17,7 @@ do
|
|||
*.cpp|*.h)
|
||||
echo Checking "$file"
|
||||
clang-format -i "$file"
|
||||
if ! git diff --quiet "$basebranch"...HEAD
|
||||
if ! git diff --quiet
|
||||
then
|
||||
printf "\033[31mError:\033[0m Formatting error in %s\n" "$file"
|
||||
CHANGED=1
|
||||
|
|
Loading…
Reference in New Issue
Block a user