BrowserURLOpener.open should only handle !openExternal uris
This commit is contained in:
parent
6ab9dcec2e
commit
498aea6ba2
1 changed files with 4 additions and 0 deletions
|
@ -46,6 +46,10 @@ class BrowserURLOpener implements IOpener {
|
|||
) { }
|
||||
|
||||
async open(resource: string | URI, options?: OpenInternalOptions | OpenExternalOptions): Promise<boolean> {
|
||||
if ((options as OpenExternalOptions | undefined)?.openExternal) {
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!matchesScheme(resource, this.productService.urlProtocol)) {
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue