Skip to content

Commit

Permalink
fix: use lefthook option in ghost hook too
Browse files Browse the repository at this point in the history
  • Loading branch information
mrexox committed Jan 15, 2025
1 parent e8bf594 commit c6bb353
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/lefthook/install.go
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,7 @@ func (l *Lefthook) createHooksIfNeeded(cfg *config.Config, checkHashSum, force b
Rc: cfg.Rc,
AssertLefthookInstalled: cfg.AssertLefthookInstalled,
Roots: roots,
LefthookExe: cfg.Lefthook,
}
if err = l.addHook(config.GhostHookName, templateArgs); err != nil {
return nil
Expand Down

0 comments on commit c6bb353

Please sign in to comment.