expose product configuration in product service

This commit is contained in:
Sandeep Somavarapu
2019-08-14 18:21:47 +02:00
parent 38cdba85df
commit e0a685e585
22 changed files with 67 additions and 140 deletions

View File

@@ -327,7 +327,7 @@ export class MainThreadWebviews extends Disposable implements MainThreadWebviews
if (MainThreadWebviews.standardSupportedLinkSchemes.has(link.scheme)) {
return true;
}
if (this._productService.urlProtocol === link.scheme) {
if (this._productService.productConfiguration.urlProtocol === link.scheme) {
return true;
}
return !!webview.webview.contentOptions.enableCommandUris && link.scheme === 'command';