瀏覽代碼

fix(config): fix unsaved config

jguer 4 年之前
父節點
當前提交
5c05811ae5
共有 1 個文件被更改,包括 1 次插入0 次删除
  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),