DEV: Do not add proxy argument when running ember-cli test (#13498)

This commit is contained in:
Penar Musaraj 2021-06-23 10:03:52 -04:00 committed by GitHub
parent fa62b5e83b
commit fbe004cc63
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -41,7 +41,7 @@ args = ["-s", "--cwd", yarn_dir, "run", "ember", command] + ARGV.reject do |a|
["--try", "--test", "--unicorn", "-u"].include?(a)
end
if !args.include?("--proxy")
if !args.include?("test") && !args.include?("--proxy")
args << "--proxy"
args << PROXY
end