aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Library/Homebrew/cmd/uninstall.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/Library/Homebrew/cmd/uninstall.rb b/Library/Homebrew/cmd/uninstall.rb
index b37e67224..505d4e4b2 100644
--- a/Library/Homebrew/cmd/uninstall.rb
+++ b/Library/Homebrew/cmd/uninstall.rb
@@ -81,6 +81,9 @@ module Homebrew
all_kegs = kegs_by_rack.values.flatten(1)
check_for_dependents all_kegs
+ rescue MethodDeprecatedError
+ # Silently ignore deprecations when uninstalling.
+ nil
end
def check_for_dependents(kegs)