remove proposal check

closes #124263
This commit is contained in:
João Moreno 2021-06-25 11:49:37 +02:00
parent 1834a0da4d
commit 8d7db6955d
No known key found for this signature in database
GPG key ID: 896B853774D1A575

View file

@ -325,16 +325,10 @@ export function createApiFactoryAndRegisterActors(accessor: ServicesAccessor): I
return extHostUrls.createAppUri(uri);
}
const isHttp = matchesScheme(uri, Schemas.http) || matchesScheme(uri, Schemas.https);
if (!isHttp) {
checkProposedApiEnabled(extension); // https://github.com/microsoft/vscode/issues/124263
}
try {
return await extHostWindow.asExternalUri(uri, { allowTunneling: !!initData.remote.authority });
} catch (err) {
if (isHttp) {
if (matchesScheme(uri, Schemas.http) || matchesScheme(uri, Schemas.https)) {
return uri;
}