Skip to content

Commit

Permalink
Fix missing sub directory
Browse files Browse the repository at this point in the history
  • Loading branch information
nikeee authored Jul 10, 2024
1 parent ef79a53 commit 4f1514b
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 @@ -47,7 +47,7 @@ call_lefthook()
{{- range .Roots -}}
elif test -f "$dir/{{.}}/node_modules/lefthook-${osArch}-${cpuArch}/bin/lefthook{{$extension}}"
then
"$dir/node_modules/lefthook-${osArch}-${cpuArch}/bin/lefthook{{$extension}}" "$@"
"$dir/{{.}}/node_modules/lefthook-${osArch}-${cpuArch}/bin/lefthook{{$extension}}" "$@"
elif test -f "$dir/{{.}}/node_modules/@evilmartians/lefthook/bin/lefthook-${osArch}-${cpuArch}/lefthook{{$extension}}"
then
"$dir/{{.}}/node_modules/@evilmartians/lefthook/bin/lefthook-${osArch}-${cpuArch}/lefthook{{$extension}}" "$@"
Expand Down

0 comments on commit 4f1514b

Please sign in to comment.