Remove unnecessary conditional

If ARGV.named.empty?, then ARGV.formulae.map(&:name) == [].
This commit is contained in:
Jack Nagel 2014-09-14 01:26:45 -05:00
parent 081036c81c
commit 529b060dbb

View File

@ -3,13 +3,10 @@ require "extend/ENV"
module Homebrew
def __env
ENV.activate_extensions!
if superenv?
ENV.deps = ARGV.formulae.map(&:name) unless ARGV.named.empty?
end
ENV.deps = ARGV.formulae.map(&:name) if superenv?
ENV.setup_build_environment
ENV.universal_binary if ARGV.build_universal?
if $stdout.tty?
dump_build_env ENV
else