diff --git a/validate_all.sh b/validate_all.sh index e68a443..e765da8 100755 --- a/validate_all.sh +++ b/validate_all.sh @@ -7,7 +7,7 @@ set -x diffs=`git status --porcelain | wc -l` -if ! [ $diffs -eq 1 ]; then +if ! [ $diffs -eq 0 ]; then echo "Please make sure you run ./jq_all_the_things.sh before commiting." exit 1 fi