uninstall: don't use unless ||

This commit is contained in:
Alyssa Ross 2016-10-02 10:45:06 +01:00
parent ef13f8eaca
commit 99a7fb8cb4

View File

@ -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