mirror of
https://github.com/Microsoft/vscode
synced 2024-09-13 13:46:13 +00:00
support boolean, string, and number types for config.<setting>
context keys, #30845
This commit is contained in:
parent
1ee12b3bd4
commit
ef4968a3df
|
@ -110,6 +110,8 @@ class ConfigAwareContextValuesContainer extends Context {
|
|||
let value = obj[key];
|
||||
switch (typeof value) {
|
||||
case 'boolean':
|
||||
case 'string':
|
||||
case 'number':
|
||||
const configKey = keys.join('.');
|
||||
const oldValue = this._value[configKey];
|
||||
this._value[configKey] = value;
|
||||
|
|
Loading…
Reference in a new issue