Fix Run lens.
This commit is contained in:
parent
02f7b5d7ab
commit
b91fa7494e
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user