Skip to content

Commit

Permalink
remove proposal check
Browse files Browse the repository at this point in the history
closes #124263
  • Loading branch information
joaomoreno committed Jun 25, 2021
1 parent 1834a0d commit 8d7db69
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/vs/workbench/api/common/extHost.api.impl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 8d7db69

Please sign in to comment.