fix: Improve missing git hook message (#306)
Install hooks with 'bd hooks install' message added to bd doctor output. Co-authored-by: Peter Loron <ploron@protonmail.com>
This commit is contained in:
@@ -1202,7 +1202,7 @@ func checkGitHooks(path string) doctorCheck {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
hookInstallMsg := "See https://github.com/steveyegge/beads/tree/main/examples/git-hooks for installation instructions"
|
hookInstallMsg := "Install hooks with 'bd hooks install'. See https://github.com/steveyegge/beads/tree/main/examples/git-hooks for installation instructions"
|
||||||
|
|
||||||
if len(installedHooks) > 0 {
|
if len(installedHooks) > 0 {
|
||||||
return doctorCheck{
|
return doctorCheck{
|
||||||
|
|||||||
Reference in New Issue
Block a user