diff options
| author | Mike McQuaid | 2016-11-18 13:06:42 +0000 |
|---|---|---|
| committer | GitHub | 2016-11-18 13:06:42 +0000 |
| commit | 0e2218807a4ceddc9d351b87e6a5c7e0d1b8a3f2 (patch) | |
| tree | 4c55c27ee90224658ab9d286abddb87266253488 | |
| parent | f4810e4eb1e8eec5d22cad019ab207dc1e652b20 (diff) | |
| parent | 39a0fec95d884ed6b6b620ff6fcb3d16fc23ff9f (diff) | |
| download | brew-0e2218807a4ceddc9d351b87e6a5c7e0d1b8a3f2.tar.bz2 | |
Merge pull request #1529 from MikeMcQuaid/uninstall-ignore-deprecations
uninstall: ignore deprecations when uninstalling.
| -rw-r--r-- | Library/Homebrew/cmd/uninstall.rb | 3 |
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) |
