diff --git a/src/commands/config/getSetReset.ts b/src/commands/config/getSetReset.ts index b7499316..9a49e1a1 100644 --- a/src/commands/config/getSetReset.ts +++ b/src/commands/config/getSetReset.ts @@ -44,8 +44,7 @@ export class ConfigActions extends BaseAction { return; } - delete config[key]; - this.writeConfig(key, undefined); + this.removeConfig(key); this.succeedSpinner(`Configuration successfully reset`); } }