Rename getConfiguraiton to getValue

This commit is contained in:
Sandeep Somavarapu
2017-11-10 12:32:07 +01:00
parent 6f0336760e
commit c2bf8a1ef1
73 changed files with 146 additions and 204 deletions

View File

@@ -62,8 +62,8 @@ export class ExtHostConfiguration implements ExtHostConfigurationShape {
getConfiguration(section?: string, resource?: URI, extensionId?: string): vscode.WorkspaceConfiguration {
const config = section
? lookUp(this._configuration.getSection(null, { resource }, this._extHostWorkspace.workspace), section)
: this._configuration.getSection(null, { resource }, this._extHostWorkspace.workspace);
? lookUp(this._configuration.getValue(null, { resource }, this._extHostWorkspace.workspace), section)
: this._configuration.getValue(null, { resource }, this._extHostWorkspace.workspace);
if (section) {
this._validateConfigurationAccess(section, resource, extensionId);