Ver código fonte

fix(config): fix unsaved config

jguer 4 anos atrás
pai
commit
5c05811ae5
1 arquivos alterados com 1 adições e 0 exclusões
  1. 1 0
      pkg/settings/config.go

+ 1 - 0
pkg/settings/config.go

@@ -193,6 +193,7 @@ func NewConfig() (*Configuration, error) {
 	newConfig.expandEnv()
 
 	newConfig.Runtime = &Runtime{
+		ConfigPath:     configPath,
 		Mode:           ModeAny,
 		SaveConfig:     false,
 		CompletionPath: filepath.Join(cacheHome, completionFileName),