Skip to content

Commit

Permalink
fix: add interactive to save config
Browse files Browse the repository at this point in the history
  • Loading branch information
mehditeymorian committed Sep 3, 2022
1 parent a2a75ad commit 5719699
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions internal/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 5719699

Please sign in to comment.