From 79dbd4d7c0dc8135d8f2e7d53c06b4af99e65aac Mon Sep 17 00:00:00 2001 From: Matt Bierner Date: Mon, 23 Sep 2019 10:58:13 -0700 Subject: [PATCH] Replace todo --- src/vs/workbench/api/browser/mainThreadWebview.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vs/workbench/api/browser/mainThreadWebview.ts b/src/vs/workbench/api/browser/mainThreadWebview.ts index b3385afe5e9..2b6d4c71199 100644 --- a/src/vs/workbench/api/browser/mainThreadWebview.ts +++ b/src/vs/workbench/api/browser/mainThreadWebview.ts @@ -96,7 +96,7 @@ export class MainThreadWebviews extends Disposable implements MainThreadWebviews // This should trigger the real reviver to be registered from the extension host side. this._register(_webviewEditorService.registerResolver({ canResolve: (webview: WebviewInput) => { - if (webview.getTypeId() !== WebviewInput.typeId) { // TODO: The typeid check is a workaround for the CustomFileEditorInput case + if (webview.getTypeId() === CustomFileEditorInput.typeId) { return false; } -- GitLab