mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 08:14:42 +04: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:
commit
bfa23f1f4f
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue