Skip to content

Commit

Permalink
fix: properly trim spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
mrexox committed Feb 16, 2024
1 parent ee784ae commit dc1e8ee
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 @@ -34,7 +34,7 @@ call_lefthook()
then
"$dir/node_modules/@evilmartians/lefthook-installer/bin/lefthook_${osArch}_${cpuArch}/lefthook{{.Extension}}" "$@"
{{ $extension := .Extension }}
{{- range .Roots}}
{{- range .Roots -}}
elif test -f "$dir/{{.}}/node_modules/lefthook/bin/index.js"
then
"$dir/{{.}}/node_modules/lefthook/bin/index.js" "$@"
Expand Down

0 comments on commit dc1e8ee

Please sign in to comment.