Let people know how to bypass precommit hook

This commit is contained in:
Oliver Blanthorn 2020-01-02 15:11:38 +00:00
parent cc4bc3e165
commit 80d2a7a9b7
No known key found for this signature in database
GPG key ID: 2BB8C36BB504BFF3

View file

@ -21,5 +21,7 @@ fi
if [ -n "$uglyFiles" ]; then if [ -n "$uglyFiles" ]; then
echo "Prettify your files first:" echo "Prettify your files first:"
echo 'yarn run pretty' echo 'yarn run pretty'
echo ''
echo 'If you see this message repeatedly, skip the check with git commit -n'
exit 1 exit 1
fi fi