Skip to content

Commit

Permalink
fix: use lefthook package with npx (#604)
Browse files Browse the repository at this point in the history
  • Loading branch information
mrexox committed Jan 10, 2024
1 parent f32e497 commit 94f3a91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/templates/hook.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -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 "$@"
Expand Down

0 comments on commit 94f3a91

Please sign in to comment.