mirror of https://github.com/microsoft/vscode.git
Native policy watcher is not given full set of definitions (#245003)
wrong policyDefinitions
This commit is contained in:
parent
82839a3b65
commit
751f923b26
|
@ -39,7 +39,7 @@ export abstract class AbstractPolicyService extends Disposable implements IPolic
|
|||
this.policyDefinitions = { ...policyDefinitions, ...this.policyDefinitions };
|
||||
|
||||
if (size !== Object.keys(this.policyDefinitions).length) {
|
||||
await this._updatePolicyDefinitions(policyDefinitions);
|
||||
await this._updatePolicyDefinitions(this.policyDefinitions);
|
||||
}
|
||||
|
||||
return Iterable.reduce(this.policies.entries(), (r, [name, value]) => ({ ...r, [name]: value }), {});
|
||||
|
|
Loading…
Reference in New Issue