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.
|
@installed_formulae = HOMEBREW_CELLAR.children.
|
||||||
select{ |pn| pn.directory? }.
|
select{ |pn| pn.directory? }.
|
||||||
map{ |pn| pn.basename.to_s }.sort
|
map{ |pn| pn.basename.to_s }.sort if HOMEBREW_CELLAR.directory?
|
||||||
|
|
||||||
return true
|
return true
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user