fixes uninstall if formula is unavailable
This commit is contained in:
parent
0723df3f86
commit
bb27478de0
@ -81,6 +81,8 @@ module Homebrew
|
||||
puts "Run `brew uninstall --force #{keg.name}` to remove all versions."
|
||||
end
|
||||
|
||||
next unless f
|
||||
|
||||
paths = f.pkgetc.find.map(&:to_s) if f.pkgetc.exist?
|
||||
if paths.present?
|
||||
puts
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user