Skip to content

Commit bd847cf

Browse files
committed
swap order
1 parent 998481e commit bd847cf

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

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

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2207,11 +2207,9 @@ export abstract class AbstractTaskService extends Disposable implements ITaskSer
22072207
if (!(await this._trust())) {
22082208
return new Map();
22092209
}
2210-
await this._waitForTaskSystem();
22112210
await this._waitForSupportedExecutions;
2212-
// The build task might be run before folder open. On folder open, we need to update the tasks so that
2213-
// all tasks are parsed. #173384
2214-
if (runSource !== TaskRunSource.FolderOpen && this._workspaceTasksPromise) {
2211+
await this._waitForTaskSystem();
2212+
if (this._workspaceTasksPromise) {
22152213
return this._workspaceTasksPromise;
22162214
}
22172215
return this._updateWorkspaceTasks(runSource);

0 commit comments

Comments
 (0)