提交 6fd1ac9c 编写于 作者: D Dirk Baeumer

Fixes #26949: Task version 0.1.0 doesn't list any task anymore. Shows endless progress

上级 227b38f6
......@@ -894,11 +894,13 @@ class TaskService extends EventEmitter implements ITaskService {
resolve(result);
}
};
if (this.getExecutionEngine() === ExecutionEngine.Terminal) {
if (this.getExecutionEngine() === ExecutionEngine.Terminal && this._providers.size > 0) {
this._providers.forEach((provider) => {
counter++;
provider.provideTasks().done(done, error);
});
} else {
resolve(result);
}
}).then((result) => {
return this.getWorkspaceTasks().then((workspaceTaskResult) => {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册