A platform for community discussion. Free, open, simple.
FIX: properly filter ember-cli args (#13011)
Jeff Wong7a0e5c8cb945
diff --git a/bin/ember-cli b/bin/ember-cliindex 689f32be792..3aa799e1432 100755--- a/bin/ember-cli+++ b/bin/ember-cli@@ -36,7 +36,7 @@ if ARGV.include?("-h") || ARGV.include?("--help")exec "yarn --cwd #{yarn_dir} run ember #{command} --help"end-args = ["--cwd", yarn_dir, "run", "ember", command] + ARGV.reject { |a| a == "--try" || "--test" }+args = ["--cwd", yarn_dir, "run", "ember", command] + ARGV.reject { |a| a == "--try" || a == "--test" }if !args.include?("--proxy")args << "--proxy"