diff options
Diffstat (limited to 'editors/code/src/commands.ts')
-rw-r--r-- | editors/code/src/commands.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/editors/code/src/commands.ts b/editors/code/src/commands.ts index 48a25495f..8c9d7802f 100644 --- a/editors/code/src/commands.ts +++ b/editors/code/src/commands.ts | |||
@@ -394,7 +394,7 @@ export function run(ctx: Ctx): Cmd { | |||
394 | 394 | ||
395 | item.detail = 'rerun'; | 395 | item.detail = 'rerun'; |
396 | prevRunnable = item; | 396 | prevRunnable = item; |
397 | const task = createTask(item.runnable); | 397 | const task = await createTask(item.runnable, ctx.config); |
398 | return await vscode.tasks.executeTask(task); | 398 | return await vscode.tasks.executeTask(task); |
399 | }; | 399 | }; |
400 | } | 400 | } |
@@ -404,7 +404,7 @@ export function runSingle(ctx: Ctx): Cmd { | |||
404 | const editor = ctx.activeRustEditor; | 404 | const editor = ctx.activeRustEditor; |
405 | if (!editor) return; | 405 | if (!editor) return; |
406 | 406 | ||
407 | const task = createTask(runnable); | 407 | const task = await createTask(runnable, ctx.config); |
408 | task.group = vscode.TaskGroup.Build; | 408 | task.group = vscode.TaskGroup.Build; |
409 | task.presentationOptions = { | 409 | task.presentationOptions = { |
410 | reveal: vscode.TaskRevealKind.Always, | 410 | reveal: vscode.TaskRevealKind.Always, |