fix(reprot): use SQLite3 in current dir if not specified (#1103)

This commit is contained in:
Kota Kanbe
2020-12-26 08:24:17 +09:00
committed by GitHub
parent 8679759f60
commit a33cff8f13
4 changed files with 34 additions and 84 deletions

View File

@@ -163,7 +163,7 @@ func (p *ReportCmd) Execute(_ context.Context, f *flag.FlagSet, _ ...interface{}
util.Log.Errorf("Error loading %s, %+v", p.configPath, err)
return subcommands.ExitUsageError
}
c.Conf.HTTP.Overwrite(p.httpConf)
c.Conf.HTTP.Init(p.httpConf)
var dir string
var err error