mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-05-08 00:09:15 -05:00
Merge pull request #606 from pre-commit/minor-hook-tmpl-fixups
Fix error message during pre-push / commit-msg
This commit is contained in:
@@ -25,7 +25,7 @@ if ((
|
|||||||
(ENV_PYTHON_RETV != 0) &&
|
(ENV_PYTHON_RETV != 0) &&
|
||||||
(PYTHON_RETV != 0)
|
(PYTHON_RETV != 0)
|
||||||
)); then
|
)); then
|
||||||
echo '`{hook_type}` not found. Did you forget to activate your virtualenv?'
|
echo '`pre-commit` not found. Did you forget to activate your virtualenv?'
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user