From 5719699a65be7cc7fccc0029d5e1d4b884a9995a Mon Sep 17 00:00:00 2001 From: Mehdi Teymorian Date: Sat, 3 Sep 2022 16:12:01 +0430 Subject: [PATCH] fix: add interactive to save config --- internal/config/config.go | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/internal/config/config.go b/internal/config/config.go index b6d0e0e..3555f1f 100644 --- a/internal/config/config.go +++ b/internal/config/config.go @@ -101,9 +101,10 @@ func (c *Config) Save() { defer file.Close() saveCfg := saveConfig{ - Rsa: c.Rsa, - Hmac: c.Hmac, - Ecdsa: c.Ecdsa, + Interactive: c.Interactive, + Rsa: c.Rsa, + Hmac: c.Hmac, + Ecdsa: c.Ecdsa, } encoder := yaml.NewEncoder(file)