Merge pull request #7565 from sl4m/fixes-brew-uninstall
Fixes uninstall if formula is unavailable
This commit is contained in:
commit
e5a6a11e2d
@ -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