Skip to content

Commit 5a82dbd

Browse files
committed
1 parent 481c26a commit 5a82dbd

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

src/vs/workbench/contrib/tasks/browser/abstractTaskService.ts

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2749,16 +2749,7 @@ export abstract class AbstractTaskService extends Disposable implements ITaskSer
27492749
return true;
27502750
}
27512751

2752-
private async _ensureWorkspaceTasks(): Promise<void> {
2753-
if (!this._workspaceTasksPromise) {
2754-
await this.getWorkspaceTasks();
2755-
} else {
2756-
await this._workspaceTasksPromise;
2757-
}
2758-
}
2759-
27602752
private async _runTaskCommand(filter?: string | ITaskIdentifier): Promise<void> {
2761-
await this._ensureWorkspaceTasks();
27622753
if (!filter) {
27632754
return this._doRunTaskCommand();
27642755
}
@@ -2916,7 +2907,6 @@ export abstract class AbstractTaskService extends Disposable implements ITaskSer
29162907
title: strings.fetching
29172908
};
29182909
const promise = (async () => {
2919-
await this._ensureWorkspaceTasks();
29202910
let taskGroupTasks: (Task | ConfiguringTask)[] = [];
29212911

29222912
async function runSingleTask(task: Task | undefined, problemMatcherOptions: IProblemMatcherRunOptions | undefined, that: AbstractTaskService) {

0 commit comments

Comments
 (0)