Fix appHost being improperly defined (#135387)
* Fix appHost being improperly defined * Use null coalescing instead of ||
This commit is contained in:
parent
3dbfbfbaa5
commit
6cba118ac4
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue