doctor: don't check keg-onlies if cellar doesn't exist
This commit is contained in:
parent
aa7864c5ca
commit
3589465297
@ -751,6 +751,8 @@ end
|
||||
def check_for_linked_keg_only_brews
|
||||
require 'formula'
|
||||
|
||||
return unless HOMEBREW_CELLAR.exist?
|
||||
|
||||
warnings = Hash.new
|
||||
|
||||
Formula.each do |f|
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user