Skip to content

Commit

Permalink
Fix random outdated casks
Browse files Browse the repository at this point in the history
  • Loading branch information
milanvarady committed Jan 11, 2025
1 parent 4729e58 commit 203b53e
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,11 @@ extension CaskManager {

for caskID in outdatedCaskIDs {
if let cask = self.casks[caskID] {
outdatedCasks.append(cask)
// Check if cask is installed because sometimes random casks appear
// in the outdated section for reasons beyond my comprehension
if cask.isInstalled {
outdatedCasks.append(cask)
}
}
}

Expand Down

0 comments on commit 203b53e

Please sign in to comment.