Working on public api for webview port mapping

This commit is contained in:
Matt Bierner
2019-03-12 18:13:37 -07:00
parent 311b64b550
commit e0427cdcb2
6 changed files with 24 additions and 4 deletions

View File

@@ -391,7 +391,7 @@ export class MainThreadWebviews extends Disposable implements MainThreadWebviews
function reviveWebviewOptions(options: WebviewInputOptions): WebviewInputOptions {
return {
...options,
localResourceRoots: Array.isArray(options.localResourceRoots) ? options.localResourceRoots.map(URI.revive) : undefined
localResourceRoots: Array.isArray(options.localResourceRoots) ? options.localResourceRoots.map(URI.revive) : undefined,
};
}