Fix Run lens.

This commit is contained in:
vsrs 2020-06-06 15:12:17 +03:00
parent 02f7b5d7ab
commit b91fa7494e

View File

@ -110,7 +110,7 @@ export function createTask(runnable: ra.Runnable): vscode.Task {
switch (runnable.kind) {
case "cargo": command = toolchain.getPathForExecutable("cargo");
}
const args = runnable.args.cargoArgs;
const args = [...runnable.args.cargoArgs]; // should be a copy!
if (runnable.args.executableArgs.length > 0) {
args.push('--', ...runnable.args.executableArgs);
}