diff --git a/src/vs/workbench/api/node/extHostConfiguration.ts b/src/vs/workbench/api/node/extHostConfiguration.ts index da84ebf96ba52991df94e2575e42bc0c0fe961bf..d437881c7c2df79155ca61a05ebecc1f68d8de83 100644 --- a/src/vs/workbench/api/node/extHostConfiguration.ts +++ b/src/vs/workbench/api/node/extHostConfiguration.ts @@ -28,12 +28,14 @@ export class ExtHostConfiguration extends ExtHostConfigurationShape { private _onDidChangeConfiguration = new Emitter(); private _proxy: MainThreadConfigurationShape; private _data: IConfigurationData; + private _extHostWorkspace: ExtHostWorkspace; private _configuration: Configuration; - constructor(proxy: MainThreadConfigurationShape, data: IConfigurationData, private extWorkspace: ExtHostWorkspace) { + constructor(proxy: MainThreadConfigurationShape, data: IConfigurationData, extWorkspace: ExtHostWorkspace) { super(); this._proxy = proxy; this._data = data; + this._extHostWorkspace = extWorkspace; } get onDidChangeConfiguration(): Event { @@ -48,7 +50,7 @@ export class ExtHostConfiguration extends ExtHostConfigurationShape { private get configuration(): Configuration { if (!this._configuration) { - this._configuration = Configuration.parse(this._data, this.extWorkspace.workspace); + this._configuration = Configuration.parse(this._data, this._extHostWorkspace.workspace); } return this._configuration; }