mirror of
https://github.com/Microsoft/vscode
synced 2024-09-13 21:55:38 +00:00
Allow extensions to get at the exports of other extensions during resolving (#184489)
Allow extensions to get at the exports of other extensions during resolving (fixes #184472)
This commit is contained in:
parent
a68b256ff0
commit
bae0533322
|
@ -313,9 +313,13 @@ export abstract class AbstractExtHostExtensionService extends Disposable impleme
|
|||
if (this._readyToRunExtensions.isOpen()) {
|
||||
return this._activator.getActivatedExtension(extensionId).exports;
|
||||
} else {
|
||||
try {
|
||||
return this._activator.getActivatedExtension(extensionId).exports;
|
||||
} catch (err) {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Applies realpath to file-uris and returns all others uris unmodified
|
||||
|
|
Loading…
Reference in a new issue