From 44b470c99ffdbd76002cd98f1bdd8cc025d4f01f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Moreno?= Date: Wed, 26 May 2021 09:41:56 +0200 Subject: [PATCH] fixes #124576 --- src/vs/workbench/api/common/extHost.api.impl.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vs/workbench/api/common/extHost.api.impl.ts b/src/vs/workbench/api/common/extHost.api.impl.ts index 05e4c4a1d1d..dedcaf765ee 100644 --- a/src/vs/workbench/api/common/extHost.api.impl.ts +++ b/src/vs/workbench/api/common/extHost.api.impl.ts @@ -321,7 +321,7 @@ export function createApiFactoryAndRegisterActors(accessor: ServicesAccessor): I return extHostUrls.createAppUri(uri); } - if (!matchesScheme(uri.scheme, Schemas.http) && !matchesScheme(uri.scheme, Schemas.https)) { + if (!matchesScheme(uri, Schemas.http) && !matchesScheme(uri, Schemas.https)) { checkProposedApiEnabled(extension); // https://github.com/microsoft/vscode/issues/124263 }