feat: replace log with logrus

This commit is contained in:
debugtalk
2021-10-17 11:51:49 +08:00
parent ef535a6f6b
commit 2fd45a5d63
10 changed files with 59 additions and 59 deletions

View File

@@ -1,7 +1,6 @@
package cmd
import (
"log"
"testing"
"github.com/spf13/cobra/doc"
@@ -13,6 +12,6 @@ import (
func TestGenMarkdownTree(t *testing.T) {
err := doc.GenMarkdownTree(cmd.RootCmd, "./cmd/")
if err != nil {
log.Fatal(err)
t.Fatal(err)
}
}