Skip to content

Commit ffc2311

Browse files
authored
Chore: Remove colours from old husky cleanup pre-commit hook (#73395)
* test * remove colours from old husky hook instructions
1 parent bab9186 commit ffc2311

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.husky/pre-commit

+3-3
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@ fi
1919
# Either setting up lefthook, or running the clean command will unset the hooksPath git config so this
2020
# hook is no longer ran when committing.
2121

22-
echo "\n⚠️⚠️⚠️ \e[1mImportant: Pre-commit hooks are now opt-in.\e[0m ⚠️⚠️⚠️"
22+
echo "\n⚠️⚠️⚠️ Important: Pre-commit hooks are now opt-in. ⚠️⚠️⚠️"
2323
echo "To install the new pre-commit hooks:"
24-
echo " $ \e[96mmake lefthook-install\e[0m"
24+
echo " $ make lefthook-install"
2525
echo "Or, silence this message by cleaning up the old hooks"
26-
echo " $ \e[96mmake cleanup-old-git-hooks\e[0m"
26+
echo " $ make cleanup-old-git-hooks"
2727
echo "\nPre-commit hooks will not run on this commit and it will be committed even if it contains lint errors."
2828
echo "See https://github.com/grafana/grafana/blob/main/contribute/developer-guide.md#configure-precommit-hooks for more info\n"
2929

0 commit comments

Comments
 (0)