X-Git-Url: https://git.teslayout.com/public/public/public/?a=blobdiff_plain;f=pre-commit.sh;h=2771db8b694bf1673893f0982544de2253e6703d;hb=294a78c6bf69289126940ac2348a89ecd536be12;hp=8a7577b78a5cdcff9612685ee2860e22e7328a32;hpb=bebea4009ed5a273fbf9ed3644a2140a8f477f99;p=anna.git diff --git a/pre-commit.sh b/pre-commit.sh index 8a7577b..2771db8 100755 --- a/pre-commit.sh +++ b/pre-commit.sh @@ -96,6 +96,9 @@ test_style () { rm "${newfile}" if [ $r != 0 ] ; then echo "Code style error in '$file', please fix before commiting." + echo "To autofix, create a hidden file named './.fix_style' on suite root." +pwd +echo xxxx exit 1 fi }