From b91fa7494ece3ca26e5797c4b23469d82b8e1322 Mon Sep 17 00:00:00 2001 From: vsrs Date: Sat, 6 Jun 2020 15:12:17 +0300 Subject: Fix Run lens. --- editors/code/src/run.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'editors/code/src') diff --git a/editors/code/src/run.ts b/editors/code/src/run.ts index 5c790741f..bb060cfe1 100644 --- a/editors/code/src/run.ts +++ b/editors/code/src/run.ts @@ -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); } -- cgit v1.2.3