From 7c59607d35388b167ddbd42ab86aae2ac0a3d876 Mon Sep 17 00:00:00 2001 From: Anthony Sottile Date: Tue, 5 Sep 2017 09:33:51 -0700 Subject: [PATCH] Fix error message during pre-push / commit-msg --- pre_commit/resources/hook-tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pre_commit/resources/hook-tmpl b/pre_commit/resources/hook-tmpl index 3bfce5c7..5d95e0fc 100644 --- a/pre_commit/resources/hook-tmpl +++ b/pre_commit/resources/hook-tmpl @@ -25,7 +25,7 @@ if (( (ENV_PYTHON_RETV != 0) && (PYTHON_RETV != 0) )); 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 fi