Skip to content
This repository has been archived by the owner on Jan 26, 2024. It is now read-only.

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
enginelesscc committed Mar 24, 2023
1 parent 0317333 commit 4445cce
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 10 deletions.
3 changes: 1 addition & 2 deletions build.cmd
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
yarn --force --ignore-engines
yarn run gulp vscode-win32-x64 --openssl-legacy-provider
yarn --force --ignore-engines && yarn run gulp vscode-win32-x64 --openssl-legacy-provider
18 changes: 10 additions & 8 deletions src/vs/workbench/contrib/testing/common/testItemCollection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -558,20 +558,22 @@ export class TestItemCollection<T extends ITestItemLike> extends Disposable {
let r: Thenable<void> | void;
try {
r = this._resolveHandler(internal.actual === this.root ? undefined : internal.actual);
} catch (err) {
applyError(err);
}

if (isThenable(r)) {
r.catch(applyError).then(() => {
if (isThenable(r)) {
r.catch(applyError).then(() => {
barrier.open();
this.updateExpandability(internal);
});
} else {
barrier.open();
this.updateExpandability(internal);
});
} else {
}
} catch (err) {
applyError(err);
barrier.open();
this.updateExpandability(internal);
}


return internal.resolveBarrier;
}

Expand Down

0 comments on commit 4445cce

Please sign in to comment.