Skip to content

Commit

Permalink
fix: don't disable updates within drv.new()
Browse files Browse the repository at this point in the history
  • Loading branch information
gerblesh committed Dec 25, 2024
1 parent afc8cc7 commit d2bce8f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion drv/brew/brew.go
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,6 @@ func (up BrewUpdater) New(config UpdaterInitConfiguration) (BrewUpdater, error)

uid, err := up.GetBrewUID()
if err != nil {
up.Config.Enabled = false
return up, err
}
up.BaseUser = uid
Expand Down
1 change: 0 additions & 1 deletion drv/distrobox/distrobox.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ func (up DistroboxUpdater) New(config UpdaterInitConfiguration) (DistroboxUpdate

inf, err := os.Stat(up.binaryPath)
if err != nil {
up.Config.Enabled = false
return up, err
}
// check if file is executable using bitmask
Expand Down

0 comments on commit d2bce8f

Please sign in to comment.