Skip to content

Commit

Permalink
Allow extensions to get at the exports of other extensions during res…
Browse files Browse the repository at this point in the history
…olving (#184487)

Allow extensions to get at the exports of other extensions during resolving (fixes #184472)
  • Loading branch information
alexdima authored Jun 7, 2023
1 parent aee5255 commit 380636e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/vs/workbench/api/common/extHostExtensionService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,11 @@ export abstract class AbstractExtHostExtensionService extends Disposable impleme
if (this._readyToRunExtensions.isOpen()) {
return this._activator.getActivatedExtension(extensionId).exports;
} else {
return null;
try {
return this._activator.getActivatedExtension(extensionId).exports;
} catch (err) {
return null;
}
}
}

Expand Down

0 comments on commit 380636e

Please sign in to comment.