From 21b73f984433ca6ca1500826af59f8dd8bc22618 Mon Sep 17 00:00:00 2001 From: Igor Matuszewski Date: Mon, 18 Mar 2019 21:04:33 +0100 Subject: Respect the user-provided label when creating task --- editors/code/src/commands/runnables.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'editors') diff --git a/editors/code/src/commands/runnables.ts b/editors/code/src/commands/runnables.ts index 74d664034..c6d23a185 100644 --- a/editors/code/src/commands/runnables.ts +++ b/editors/code/src/commands/runnables.ts @@ -37,7 +37,7 @@ export function createTask(spec: Runnable): vscode.Task { const TASK_SOURCE = 'Rust'; const definition: CargoTaskDefinition = { type: 'cargo', - label: 'cargo', + label: spec.label, command: spec.bin, args: spec.args, env: spec.env -- cgit v1.2.3