make notify log hook opt-in

This commit is contained in:
nils måsén 2022-09-07 15:03:08 +02:00
parent 102566032a
commit f817098cd5
5 changed files with 22 additions and 14 deletions

View file

@ -139,6 +139,7 @@ func PreRun(cmd *cobra.Command, _ []string) {
})
notifier = notifications.NewNotifier(cmd)
notifier.AddLogHook()
}
// Run is the main execution flow of the command