Skip to content
Snippets Groups Projects
Commit 39a0fec9 authored by Mike McQuaid's avatar Mike McQuaid
Browse files

uninstall: ignore deprecations when uninstalling.

Handle `MethodDeprecatedError` because we want people to be able to
uninstall regardless of the content of their formula.
parent 649c7ab4
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment