aboutsummaryrefslogtreecommitdiff
path: root/editors/code
diff options
context:
space:
mode:
authorIgor Matuszewski <[email protected]>2019-03-18 20:04:33 +0000
committerIgor Matuszewski <[email protected]>2019-03-18 20:04:41 +0000
commit21b73f984433ca6ca1500826af59f8dd8bc22618 (patch)
tree8a49dbc882b02c0cd661080804171dc524986eef /editors/code
parentafe9cea6402ec7d2deb129e823c3a6d19aa2c906 (diff)
Respect the user-provided label when creating task
Diffstat (limited to 'editors/code')
-rw-r--r--editors/code/src/commands/runnables.ts2
1 files changed, 1 insertions, 1 deletions
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 {
37 const TASK_SOURCE = 'Rust'; 37 const TASK_SOURCE = 'Rust';
38 const definition: CargoTaskDefinition = { 38 const definition: CargoTaskDefinition = {
39 type: 'cargo', 39 type: 'cargo',
40 label: 'cargo', 40 label: spec.label,
41 command: spec.bin, 41 command: spec.bin,
42 args: spec.args, 42 args: spec.args,
43 env: spec.env 43 env: spec.env