Skip to content

Commit

Permalink
feat: debug log if no system update
Browse files Browse the repository at this point in the history
  • Loading branch information
tulilirockz committed Dec 4, 2024
1 parent f734320 commit 07bf09c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cmd/update.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,9 @@ func Update(cmd *cobra.Command, args []string) {
slog.Error("Failed checking for updates")
}
systemUpdater.Config.Enabled = enableUpd
if !enableUpd {
slog.Debug("No system update found, disabiling module")
}
}

brewUpdater, err := drv.BrewUpdater{}.New(*initConfiguration)
Expand Down

0 comments on commit 07bf09c

Please sign in to comment.