Fixes #27348: Task should not be drop if identifier is undefined

This commit is contained in:
Dirk Baeumer
2017-05-30 22:03:57 +02:00
parent 6fb0af28cd
commit 4bb81e3099

View File

@@ -294,7 +294,7 @@ namespace Tasks {
}
function fromSingle(task: vscode.Task, extension: IExtensionDescription, uuidMap: UUIDMap): TaskSystem.Task {
if (typeof task.name !== 'string' || typeof task.identifier !== 'string') {
if (typeof task.name !== 'string') {
return undefined;
}
let command: TaskSystem.CommandConfiguration;