From 7a0e5c8cb945f2c2aafa314ff71ef4dd2d87899c Mon Sep 17 00:00:00 2001 From: Jeff Wong Date: Mon, 10 May 2021 07:39:54 -1000 Subject: [PATCH] FIX: properly filter ember-cli args (#13011) Was previously rejecting all args. --- bin/ember-cli | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/ember-cli b/bin/ember-cli index 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"