aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd
diff options
context:
space:
mode:
authorAlyssa Ross2016-10-02 10:45:06 +0100
committerAlyssa Ross2016-10-25 22:34:35 +0100
commit99a7fb8cb4c68fa3d7821fb2d164fbd1211437c1 (patch)
tree16da1ad1c06d655737083b825b7b82546cc5737d /Library/Homebrew/cmd
parentef13f8eacaa62be6d2e4ee0af5041a6563fd0c71 (diff)
downloadbrew-99a7fb8cb4c68fa3d7821fb2d164fbd1211437c1.tar.bz2
uninstall: don't use unless ||
Diffstat (limited to 'Library/Homebrew/cmd')
-rw-r--r--Library/Homebrew/cmd/uninstall.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/uninstall.rb b/Library/Homebrew/cmd/uninstall.rb
index 92b3beff4..f9cf56f44 100644
--- a/Library/Homebrew/cmd/uninstall.rb
+++ b/Library/Homebrew/cmd/uninstall.rb
@@ -25,7 +25,7 @@ module Homebrew
end
# --ignore-dependencies, to be consistent with install
- unless ARGV.include?("--ignore-dependencies") || ARGV.homebrew_developer?
+ if !ARGV.include?("--ignore-dependencies") && !ARGV.homebrew_developer?
all_kegs = kegs_by_rack.values.flatten(1)
return if check_for_dependents all_kegs
end