mirror of
https://github.com/grafana/grafana.git
synced 2024-11-21 16:38:03 -06:00
Chore: Remove colours from old husky cleanup pre-commit hook (#73395)
* test * remove colours from old husky hook instructions
This commit is contained in:
parent
bab9186370
commit
ffc231147f
@ -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"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user