Skip to content

Commit

Permalink
fix: use direct lefthook package (#774)
Browse files Browse the repository at this point in the history
* fix: use direct lefthook package

* chore: whitespace
  • Loading branch information
mrexox committed Jul 18, 2024
1 parent e9ad69b commit 8b7d13e
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 @@ -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}}
Expand Down

0 comments on commit 8b7d13e

Please sign in to comment.