diff --git a/pkg/config/config.go b/pkg/config/config.go index 38e8cc6..74b3afb 100644 --- a/pkg/config/config.go +++ b/pkg/config/config.go @@ -310,6 +310,7 @@ func (c *Config) RemoveOptionByPath(p string) error { m := c.Viper.GetStringMapString(s[0]) delete(m, s[1]) c.Viper.Set(s[0], m) + return nil } return fmt.Errorf("Deleting `%s` is currently not supported, use set instead", s[1]) }