From 237be18c5cd1af4357447aa01be98ba6bf235a1e Mon Sep 17 00:00:00 2001 From: Sandeep Somavarapu Date: Fri, 7 Feb 2020 07:51:45 +0100 Subject: [PATCH] Fix #90201 --- src/vs/workbench/api/common/extHostConfiguration.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/vs/workbench/api/common/extHostConfiguration.ts b/src/vs/workbench/api/common/extHostConfiguration.ts index 218ab44f448b9..fb681cdc1b515 100644 --- a/src/vs/workbench/api/common/extHostConfiguration.ts +++ b/src/vs/workbench/api/common/extHostConfiguration.ts @@ -20,7 +20,6 @@ import { IExtHostRpcService } from 'vs/workbench/api/common/extHostRpcService'; import { ILogService } from 'vs/platform/log/common/log'; import { Workspace } from 'vs/platform/workspace/common/workspace'; import { URI } from 'vs/base/common/uri'; -import { checkProposedApiEnabled } from 'vs/workbench/services/extensions/common/extensions'; function lookUp(tree: any, key: string) { if (key) { @@ -157,9 +156,6 @@ export class ExtHostConfigProvider { getConfiguration(section?: string, scope?: vscode.ConfigurationScope | null, extensionDescription?: IExtensionDescription): vscode.WorkspaceConfiguration { const overrides = scopeToOverrides(scope) || {}; - if (overrides.overrideIdentifier && extensionDescription) { - checkProposedApiEnabled(extensionDescription); - } const config = this._toReadonlyValue(section ? lookUp(this._configuration.getValue(undefined, overrides, this._extHostWorkspace.workspace), section) : this._configuration.getValue(undefined, overrides, this._extHostWorkspace.workspace));