Chore: Remove colours from old husky cleanup pre-commit hook (#73395)

* test

* remove colours from old husky hook instructions
This commit is contained in:
Josh Hunt 2023-08-18 13:10:18 +00:00 committed by GitHub
parent bab9186370
commit ffc231147f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -19,11 +19,11 @@ fi
# Either setting up lefthook, or running the clean command will unset the hooksPath git config so this # Either setting up lefthook, or running the clean command will unset the hooksPath git config so this
# hook is no longer ran when committing. # hook is no longer ran when committing.
echo "\n⚠ \e[1mImportant: Pre-commit hooks are now opt-in.\e[0m ⚠️⚠️⚠️" echo "\n⚠ Important: Pre-commit hooks are now opt-in. ⚠️⚠️⚠️"
echo "To install the new pre-commit hooks:" echo "To install the new pre-commit hooks:"
echo " $ \e[96mmake lefthook-install\e[0m" echo " $ make lefthook-install"
echo "Or, silence this message by cleaning up the old hooks" echo "Or, silence this message by cleaning up the old hooks"
echo " $ \e[96mmake cleanup-old-git-hooks\e[0m" echo " $ make cleanup-old-git-hooks"
echo "\nPre-commit hooks will not run on this commit and it will be committed even if it contains lint errors." echo "\nPre-commit hooks will not run on this commit and it will be committed even if it contains lint errors."
echo "See https://github.com/grafana/grafana/blob/main/contribute/developer-guide.md#configure-precommit-hooks for more info\n" echo "See https://github.com/grafana/grafana/blob/main/contribute/developer-guide.md#configure-precommit-hooks for more info\n"