Merge pull request #12653 from liamwhite/once-more

ci: fix file mode check in format script
master
Charles Lombardo 2024-01-11 19:58:41 +07:00 committed by GitHub
commit a4d90a9a64
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

@ -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:"