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

* test

* remove colours from old husky hook instructions
pull/73412/head^2
Josh Hunt 2 years ago committed by GitHub
parent bab9186370
commit ffc231147f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      .husky/pre-commit

@ -19,11 +19,11 @@ fi
# Either setting up lefthook, or running the clean command will unset the hooksPath git config so this
# 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 " $ \e[96mmake lefthook-install\e[0m"
echo " $ make lefthook-install"
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 "See https://github.com/grafana/grafana/blob/main/contribute/developer-guide.md#configure-precommit-hooks for more info\n"

Loading…
Cancel
Save