From 94f3a91fc4e7bdbf7d56bce4129e72b657593cbb Mon Sep 17 00:00:00 2001 From: Valentin Kiselev Date: Wed, 10 Jan 2024 17:03:33 +0300 Subject: [PATCH] fix: use lefthook package with npx (#604) --- 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 5c79da1c..d0c370ae 100644 --- a/internal/templates/hook.tmpl +++ b/internal/templates/hook.tmpl @@ -44,7 +44,7 @@ call_lefthook() pnpm lefthook "$@" elif command -v npx >/dev/null 2>&1 then - npx @evilmartians/lefthook "$@" + npx lefthook "$@" elif swift package plugin lefthook >/dev/null 2>&1 then swift package --disable-sandbox plugin lefthook "$@"