From 8b7d13e0886744ebbe467d1e763db02dba3d28cc Mon Sep 17 00:00:00 2001 From: Valentin Kiselev Date: Thu, 18 Jul 2024 10:25:15 +0300 Subject: [PATCH] fix: use direct lefthook package (#774) * fix: use direct lefthook package * chore: whitespace --- internal/templates/hook.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/templates/hook.tmpl b/internal/templates/hook.tmpl index 676edaf2..fb0f3358 100644 --- a/internal/templates/hook.tmpl +++ b/internal/templates/hook.tmpl @@ -75,7 +75,7 @@ call_lefthook() mint run csjones/lefthook-plugin "$@" elif command -v npx >/dev/null 2>&1 then - npx lefthook "$@" + npx lefthook-${osArch}-${cpuArch} "$@" else echo "Can't find lefthook in PATH" {{- if .AssertLefthookInstalled}}