FIX: properly filter ember-cli args (#13011)
Was previously rejecting all args.
This commit is contained in:
parent
ee880c4c89
commit
7a0e5c8cb9
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue