1
0
mirror of https://github.com/zu1k/nali.git synced 2025-01-22 21:29:02 +08:00

fix: gen nil config file

Signed-off-by: zu1k <i@zu1k.com>
This commit is contained in:
zu1k 2022-07-21 10:53:26 +08:00
parent c2a1ad8565
commit 40e1623c4b

View File

@ -17,10 +17,7 @@ func init() {
err := viper.ReadInConfig()
if err != nil {
err = viper.SafeWriteConfig()
if err != nil {
panic(err)
}
return
}
dbList := db.List{}