Skip to content

Commit

Permalink
Fix appHost being improperly defined (#135387)
Browse files Browse the repository at this point in the history
* Fix appHost being improperly defined

* Use null coalescing instead of ||
  • Loading branch information
lramos15 authored Oct 19, 2021
1 parent 3dbfbfb commit 6cba118
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 6cba118

Please sign in to comment.