Make identifier computed to better support task customization

This commit is contained in:
Dirk Baeumer
2017-05-29 15:38:55 +02:00
parent bf5bb9de5c
commit fdadd0ed5f
7 changed files with 35 additions and 23 deletions

View File

@@ -316,7 +316,7 @@ namespace Tasks {
detail: extension.id
},
name: task.name,
identifier: task.identifier,
identifier: task.identifier ? task.identifier : `${extension.id}.${task.name}`,
group: types.TaskGroup.is(task.group) ? task.group : undefined,
command: command,
isBackground: !!task.isBackground,