diff options
author | Logan Ramos <lramos15@gmail.com> | 2021-10-19 17:41:40 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-19 17:41:40 +0300 |
commit | 6cba118ac49a1b88332f312a8f67186f7f3c1643 (patch) | |
tree | baff3f81108a6909a04e521cb3e277c821b11672 | |
parent | 3dbfbfbaa5c35a89ebe849975f8a81d87b830e8d (diff) |
Fix appHost being improperly defined (#135387)1.61.2release/1.61
* Fix appHost being improperly defined
* Use null coalescing instead of ||
-rw-r--r-- | src/vs/workbench/services/extensions/browser/webWorkerExtensionHost.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vs/workbench/services/extensions/browser/webWorkerExtensionHost.ts b/src/vs/workbench/services/extensions/browser/webWorkerExtensionHost.ts index 83e2308bb1d..659a93df4ec 100644 --- a/src/vs/workbench/services/extensions/browser/webWorkerExtensionHost.ts +++ b/src/vs/workbench/services/extensions/browser/webWorkerExtensionHost.ts @@ -383,7 +383,7 @@ export class WebWorkerExtensionHost extends Disposable implements IExtensionHost environment: { isExtensionDevelopmentDebug: this._environmentService.debugRenderer, appName: this._productService.nameLong, - appHost: this._productService.embedderIdentifier || platform.isWeb ? 'web' : 'desktop', + appHost: this._productService.embedderIdentifier ?? (platform.isWeb ? 'web' : 'desktop'), appUriScheme: this._productService.urlProtocol, appLanguage: platform.language, extensionDevelopmentLocationURI: this._environmentService.extensionDevelopmentLocationURI, |