mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-22 02:41:49 -05:00
ci: fix file mode check in format script
This commit is contained in:
parent
6533dfd7ce
commit
84787a2ada
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ for f in $FILES_TO_LINT; do
|
||||||
"$CLANG_FORMAT" -i "$f"
|
"$CLANG_FORMAT" -i "$f"
|
||||||
done
|
done
|
||||||
|
|
||||||
DIFF=$(git diff)
|
DIFF=$(git -c core.fileMode=false diff)
|
||||||
|
|
||||||
if [ ! -z "$DIFF" ]; then
|
if [ ! -z "$DIFF" ]; then
|
||||||
echo "!!! Not compliant to coding style, here is the fix:"
|
echo "!!! Not compliant to coding style, here is the fix:"
|
||||||
|
|
Loading…
Reference in a new issue