missing should not error if Cellar does not exist
This commit is contained in:
parent
e49dc46bf3
commit
1ff01a872e
@ -11,6 +11,8 @@ def installed_brews
|
||||
end
|
||||
|
||||
def main
|
||||
return unless HOMEBREW_CELLAR.exist?
|
||||
|
||||
# Names of outdated brews; they count as installed.
|
||||
outdated = Homebrew.outdated_brews.collect{ |b| b.name }
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user