Skip to content
Snippets Groups Projects
Commit 529b060d authored by Jack Nagel's avatar Jack Nagel
Browse files

Remove unnecessary conditional

If ARGV.named.empty?, then ARGV.formulae.map(&:name) == [].
parent 081036c8
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment