Skip to content

Commit

Permalink
Remove no longer valid optimization
Browse files Browse the repository at this point in the history
The old optimization was rewritten but left this conditional statement which does nothing now
evilmartians#184
  • Loading branch information
PikachuEXE committed Sep 28, 2021
1 parent 6c84d85 commit da14935
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions cmd/templates/hook.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,6 @@ call_lefthook()
if lefthook{{.Extension}} -h >/dev/null 2>&1
then
eval lefthook{{.Extension}} $@
elif test -f "$dir/node_modules/@arkweid/lefthook/bin/lefthook{{.Extension}}"
then
eval "$dir/node_modules/@arkweid/lefthook/bin/lefthook{{.Extension}} $@"
elif bundle exec lefthook -h >/dev/null 2>&1
then
bundle exec lefthook $@
Expand Down

0 comments on commit da14935

Please sign in to comment.