handle workspace uris

related to #124263
This commit is contained in:
João Moreno
2021-05-21 11:23:45 +02:00
parent 73c6f34f9e
commit a6f7aa5e4c
10 changed files with 145 additions and 15 deletions

View File

@@ -60,8 +60,7 @@ export class MainThreadWindow implements MainThreadWindowShape {
}
async $asExternalUri(uriComponents: UriComponents, options: IOpenUriOptions): Promise<UriComponents> {
const uri = URI.revive(uriComponents);
const result = await this.openerService.resolveExternalUri(uri, options);
const result = await this.openerService.resolveExternalUri(URI.revive(uriComponents), options);
return result.resolved;
}
}