Skip to content

Commit

Permalink
uninstall: don't use unless ||
Browse files Browse the repository at this point in the history
  • Loading branch information
alyssais committed Oct 25, 2016
1 parent ef13f8e commit 99a7fb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Library/Homebrew/cmd/uninstall.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def uninstall
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
Expand Down

0 comments on commit 99a7fb8

Please sign in to comment.