Skip to content

Commit ce6e28f

Browse files
committed
Do not attempt reformating src/*.bat nor src/*.mak, as these are not C source files
1 parent 508452a commit ce6e28f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

format.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ then
2222
exit 1
2323
fi
2424

25-
SOURCE_FILES=$(git ls-files src/)
25+
# Do not attempt reformating src/*.bat nor src/*.mak, as these are not C source files
26+
SOURCE_FILES=$(git ls-files src/*.c src/*.h)
2627

2728
if [ "$1" == "reformat" ]
2829
then

0 commit comments

Comments
 (0)