Load bundle for web from unpkg service (#163641)

* move extensionResourceLoader service into platform

* use the ExtensionResourceLoader to load translations from a language pack

* do join after

* missed a deletion
This commit is contained in:
Tyler James Leonhardt
2022-10-14 07:52:29 -07:00
committed by GitHub
parent 28da8ed1aa
commit f83ad50c89
22 changed files with 86 additions and 35 deletions

View File

@@ -23,7 +23,7 @@ export class MainThreadLocalization extends Disposable implements MainThreadLoca
async $fetchBuiltInBundleUri(id: string): Promise<URI | undefined> {
try {
const uri = await this.languagePackService.getTranslationsUri(id);
const uri = await this.languagePackService.getBuiltInExtensionTranslationsUri(id);
return uri;
} catch (e) {
return undefined;