Skip to content
Permalink
Browse files
Add whitespace check to prepare-commit.sh
  • Loading branch information
m-kuhn committed Apr 1, 2017
1 parent 5148b7a commit 25f137053d5ab9e54800865e0abe0f25274fb7ed
Showing with 2 additions and 0 deletions.
  1. +2 −0 scripts/prepare-commit.sh
@@ -142,6 +142,8 @@ else
rm $SIPIFYDIFF
fi

# If there are whitespace errors, print the offending file names and fail.
exec git diff-index --check --cached HEAD --

exit 0

0 comments on commit 25f1370

Please sign in to comment.