This commit is contained in:
João Moreno
2021-05-26 09:41:56 +02:00
parent 47d00215af
commit 44b470c99f

View File

@@ -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
}