Respect the user-provided label when creating task
This commit is contained in:
parent
afe9cea640
commit
21b73f9844
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue