From fbe7e8ce4ee3ab7a5c85e9034c1f7914fa984aee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josef=20Kub=C3=AD=C4=8Dek?= Date: Fri, 3 Dec 2021 10:39:12 +0100 Subject: [PATCH] Fix typo in "resources/hook-tmpl" --- 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 53d29f95..117a01b8 100755 --- a/pre_commit/resources/hook-tmpl +++ b/pre_commit/resources/hook-tmpl @@ -11,7 +11,7 @@ HERE="$(cd "$(dirname "$0")" && pwd)" ARGS+=(--hook-dir "$HERE" -- "$@") if [ -x "$INSTALL_PYTHON" ]; then - exec "$INSTALL_PYTHON" -mpre_commit "${ARGS[@]}" + exec "$INSTALL_PYTHON" -m pre_commit "${ARGS[@]}" elif command -v pre-commit > /dev/null; then exec pre-commit "${ARGS[@]}" else