There was an error while loading. Please reload this page.
1 parent e28192a commit ad42f1dCopy full SHA for ad42f1d
1 file changed
internal/bootstrap/config.go
@@ -82,12 +82,7 @@ func InitConfig() {
82
conf.Conf.Database.DBFile = filepath.Join(flags.DataDir, "data.db")
83
conf.Conf.TempDir = filepath.Join(flags.DataDir, "temp")
84
conf.Conf.BleveDir = filepath.Join(flags.DataDir, "bleve")
85
- if conf.Conf.Log.Enable {
86
- conf.Conf.Log.Name = filepath.Join(flags.DataDir, "log/log.log")
87
- }
88
- if conf.Conf.DistDir == "" {
89
- conf.Conf.DistDir = filepath.Join(flags.DataDir, "dist")
90
+ conf.Conf.Log.Name = filepath.Join(flags.DataDir, "log/log.log")
91
}
92
LastLaunchedVersion = conf.Conf.LastLaunchedVersion
93
if strings.HasPrefix(conf.Version, "v") || LastLaunchedVersion == "" {
0 commit comments