mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-24 18:49:00 +01:00
make global optional, fixes #12878
This commit is contained in:
@@ -53,7 +53,7 @@ export class ExtHostConfiguration extends ExtHostConfigurationShape {
|
||||
}
|
||||
return result;
|
||||
},
|
||||
update: (key: string, value: any, global: boolean) => {
|
||||
update: (key: string, value: any, global: boolean = false) => {
|
||||
key = section ? `${section}.${key}` : key;
|
||||
const target = global ? ConfigurationTarget.USER : ConfigurationTarget.WORKSPACE;
|
||||
if (value !== void 0) {
|
||||
|
||||
Reference in New Issue
Block a user