mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-26 11:38:51 +01:00
#16580 Provide option to not to notify error by default. This is needed for extension API
This commit is contained in:
@@ -35,10 +35,10 @@ export class MainThreadConfiguration extends MainThreadConfigurationShape {
|
||||
}
|
||||
|
||||
$updateConfigurationOption(target: ConfigurationTarget, key: string, value: any): TPromise<void> {
|
||||
return this._configurationEditingService.writeConfiguration(target, { key, value });
|
||||
return this._configurationEditingService.writeConfiguration(target, { key, value }, { donotNotifyError: true });
|
||||
}
|
||||
|
||||
$removeConfigurationOption(target: ConfigurationTarget, key: string): TPromise<void> {
|
||||
return this._configurationEditingService.writeConfiguration(target, { key, value: undefined });
|
||||
return this._configurationEditingService.writeConfiguration(target, { key, value: undefined }, { donotNotifyError: true });
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user