mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-04-15 18:11:48 +04:00
Fix typo in "resources/hook-tmpl"
This commit is contained in:
parent
a737d5fe2f
commit
fbe7e8ce4e
1 changed files with 1 additions and 1 deletions
|
|
@ -11,7 +11,7 @@ HERE="$(cd "$(dirname "$0")" && pwd)"
|
||||||
ARGS+=(--hook-dir "$HERE" -- "$@")
|
ARGS+=(--hook-dir "$HERE" -- "$@")
|
||||||
|
|
||||||
if [ -x "$INSTALL_PYTHON" ]; then
|
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
|
elif command -v pre-commit > /dev/null; then
|
||||||
exec pre-commit "${ARGS[@]}"
|
exec pre-commit "${ARGS[@]}"
|
||||||
else
|
else
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue