Freeze contents from inspect and keys call

This commit is contained in:
Sandeep Somavarapu
2017-11-13 16:50:33 +01:00
parent 73830a3687
commit e59a441f1b
6 changed files with 18 additions and 18 deletions

View File

@@ -107,7 +107,7 @@ export class ExtHostConfiguration implements ExtHostConfigurationShape {
},
inspect: <T>(key: string): ConfigurationInspect<T> => {
key = section ? `${section}.${key}` : key;
const config = clone(this._configuration.lookup<T>(key, { resource }, this._extHostWorkspace.workspace));
const config = clone(this._configuration.inspect<T>(key, { resource }, this._extHostWorkspace.workspace));
if (config) {
return {
key,