Skip to content

Commit

Permalink
fix: use lefthook option in ghost hook too (#929)
Browse files Browse the repository at this point in the history
  • Loading branch information
mrexox authored Jan 15, 2025
1 parent e8bf594 commit ce2058d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .typos.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
[default.extend-words]
"Pn" = "Pn" # for PnP
[default.extend-identifiers]
"PnP" = "PnP"
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 ce2058d

Please sign in to comment.