This commit is contained in:
wangchuxiao
2023-03-10 20:55:34 +08:00
parent 012a173629
commit 8ea9484255
2 changed files with 7 additions and 3 deletions
+1 -2
View File
@@ -24,8 +24,7 @@ func NewRootCmd() (rootCmd *RootCmd) {
if err != nil {
return err
}
log.InitFromConfig("newlog")
return nil
return log.InitFromConfig("newlog")
},
}
rootCmd.Command = c