Skip to content
This repository was archived by the owner on Sep 27, 2019. It is now read-only.

Commit e8a0655

Browse files
schedutronapavlo
authored andcommitted
Fix hook bypass command
This fixes the pre-commit hook bypass command, earlier it incorrectly attached `--no-verify` as a flag for the formatter script.
1 parent ff418e3 commit e8a0655

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

script/git-hooks/pre-commit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ if [ -n "$FILES" ]; then
1919
echo "******* Peloton Pre-Commit Hook *******"
2020
echo "***************************************"
2121
echo "Use \"$FORMATTER_PATH -c -f\" to format all staged files."
22-
echo "Or use \"$FORMATTER_PATH --no-verify\" to temporarily bypass the pre-commit hook."
22+
echo "Or use \"git commit --no-verify\" to temporarily bypass the pre-commit hook."
2323
echo
2424
echo "Be aware that changed files have to be staged again!"
2525
echo "***************************************"

0 commit comments

Comments
 (0)