Skip to content

Commit

Permalink
Do not attempt reformating src/*.bat nor src/*.mak, as these are not …
Browse files Browse the repository at this point in the history
…C source files
  • Loading branch information
JFLarvoire committed Mar 27, 2017
1 parent 508452a commit ce6e28f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion format.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ then
exit 1
fi

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

if [ "$1" == "reformat" ]
then
Expand Down

0 comments on commit ce6e28f

Please sign in to comment.