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"