1
0
Fork 0
forked from suyu/suyu

ci: fix file mode check in format script

This commit is contained in:
Liam 2024-01-11 18:57:07 -05:00
parent 6533dfd7ce
commit 84787a2ada

View file

@ -25,7 +25,7 @@ for f in $FILES_TO_LINT; do
"$CLANG_FORMAT" -i "$f"
done
DIFF=$(git diff)
DIFF=$(git -c core.fileMode=false diff)
if [ ! -z "$DIFF" ]; then
echo "!!! Not compliant to coding style, here is the fix:"