Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Add whitespace check to prepare-commit.sh
  • Loading branch information
m-kuhn committed Apr 1, 2017
1 parent 5148b7a commit 25f1370
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/prepare-commit.sh
Expand Up @@ -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

Expand Down

0 comments on commit 25f1370

Please sign in to comment.