Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit bfa23f1

Browse files
authored
Merge pull request #606 from pre-commit/minor-hook-tmpl-fixups
Fix error message during pre-push / commit-msg
2 parents 98ca85e + 7c59607 commit bfa23f1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pre_commit/resources/hook-tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ if ((
2525
(ENV_PYTHON_RETV != 0) &&
2626
(PYTHON_RETV != 0)
2727
)); then
28-
echo '`{hook_type}` not found. Did you forget to activate your virtualenv?'
28+
echo '`pre-commit` not found. Did you forget to activate your virtualenv?'
2929
exit 1
3030
fi
3131

0 commit comments

Comments
 (0)