diff --git a/config/config.go b/config/config.go index e458afca9..d8d4fdf1f 100644 --- a/config/config.go +++ b/config/config.go @@ -243,7 +243,9 @@ func (cfg *Config) Copy() *Config { res := &Config{ Revision: cfg.Revision, } - + if cfg.path != "" { + res.path = cfg.path + } if cfg.Profile != nil { res.Profile = cfg.Profile.Copy() }