Skip to content

Commit

Permalink
change "ShowConfirmations" to be set on user-settings-level #95
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidFeldhoff committed Feb 19, 2023
1 parent cf11564 commit 90b4fcd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vscode-extension/src/App logic/Utils/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export class Config {
return this.getConfig().get<boolean>('showConfirmations', true);
}
static setShowConfirmations(newValue: boolean) {
this.getConfig().update('showConfirmations', newValue, ConfigurationTarget.Workspace);
this.getConfig().update('showConfirmations', newValue, ConfigurationTarget.Global);
}
private static getConfig(uri?: Uri): WorkspaceConfiguration {
return workspace.getConfiguration(this.app, uri);
Expand Down

0 comments on commit 90b4fcd

Please sign in to comment.