提交 befa9e6f 编写于 作者: A Alex Ross

Add ID check for resolvedTasks

上级 7980cd26
...@@ -1238,7 +1238,7 @@ export abstract class AbstractTaskService extends Disposable implements ITaskSer ...@@ -1238,7 +1238,7 @@ export abstract class AbstractTaskService extends Disposable implements ITaskSer
if (configuringTask.type === this._providerTypes.get(handle)) { if (configuringTask.type === this._providerTypes.get(handle)) {
try { try {
const resolvedTask = await provider.resolveTask(configuringTask); const resolvedTask = await provider.resolveTask(configuringTask);
if (resolvedTask) { if (resolvedTask && (resolvedTask._id === configuringTask._id)) {
result.add(key, TaskConfig.createCustomTask(resolvedTask, configuringTask)); result.add(key, TaskConfig.createCustomTask(resolvedTask, configuringTask));
return; return;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册