Skip to content

Commit b91fa74

Browse files
committed
Fix Run lens.
1 parent 02f7b5d commit b91fa74

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

editors/code/src/run.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ export function createTask(runnable: ra.Runnable): vscode.Task {
110110
switch (runnable.kind) {
111111
case "cargo": command = toolchain.getPathForExecutable("cargo");
112112
}
113-
const args = runnable.args.cargoArgs;
113+
const args = [...runnable.args.cargoArgs]; // should be a copy!
114114
if (runnable.args.executableArgs.length > 0) {
115115
args.push('--', ...runnable.args.executableArgs);
116116
}

0 commit comments

Comments
 (0)