Don’t error out if the Cellar doesn’t yet exist
This commit is contained in:
parent
08f31bc573
commit
a656243377
@ -76,7 +76,7 @@ class RefreshBrew
|
||||
|
||||
@installed_formulae = HOMEBREW_CELLAR.children.
|
||||
select{ |pn| pn.directory? }.
|
||||
map{ |pn| pn.basename.to_s }.sort
|
||||
map{ |pn| pn.basename.to_s }.sort if HOMEBREW_CELLAR.directory?
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user