Skip to content

Commit

Permalink
Update add.go
Browse files Browse the repository at this point in the history
  • Loading branch information
Abroskin Alexander authored Jun 28, 2019
1 parent 7ded965 commit ef96bfa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/add.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ then
func autoInstall(hookName string, fs afero.Fs) string {
if hookName == checkSumHook {
return "# lefthook_version: " + configChecksum(fs) + "\n" +
`if ! type lefthook >/dev/null
`if ! type lefthook >/dev/null 2>&1
then
exec npx lefthook install
else
Expand Down

0 comments on commit ef96bfa

Please sign in to comment.