Skip to content

Commit 34623a7

Browse files
author
Dane Springmeyer
committed
display formatting changes upon failure
1 parent 0478391 commit 34623a7

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

scripts/format.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ dirty=$(git ls-files --modified src/)
3131
if [[ $dirty ]]; then
3232
echo "The following files have been modified:"
3333
echo $dirty
34+
git diff
3435
exit 1
3536
else
3637
exit 0

0 commit comments

Comments
 (0)