Merge pull request #1529 from MikeMcQuaid/uninstall-ignore-deprecations
uninstall: ignore deprecations when uninstalling.
This commit is contained in:
commit
0e2218807a
@ -81,6 +81,9 @@ module Homebrew
|
|||||||
|
|
||||||
all_kegs = kegs_by_rack.values.flatten(1)
|
all_kegs = kegs_by_rack.values.flatten(1)
|
||||||
check_for_dependents all_kegs
|
check_for_dependents all_kegs
|
||||||
|
rescue MethodDeprecatedError
|
||||||
|
# Silently ignore deprecations when uninstalling.
|
||||||
|
nil
|
||||||
end
|
end
|
||||||
|
|
||||||
def check_for_dependents(kegs)
|
def check_for_dependents(kegs)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user