未验证 提交 78b3fc88 编写于 作者: P Phodal Huang

fix: fix linit issue

上级 f61d61e1
......@@ -23,7 +23,7 @@ install: true
script:
- go test -v ./...
- $HOME/gopath/bin/ginkgo -r --randomizeAllSpecs --randomizeSuites --failOnPending --coverpkg gitserver --trace --race --compilers=2
- ginkgo -r --randomizeAllSpecs --randomizeSuites --failOnPending --coverpkg gitserver --trace --race --compilers=2
#
#os:
......
......@@ -88,7 +88,7 @@ var gitCmd *cobra.Command = &cobra.Command{
if relatedConfig != "" {
config, err := ioutil.ReadFile(relatedConfig)
if err != nil {
_ = fmt.Errorf("🥯 🦆 🦉 🥓 🦄 🦀 🖕 🍣 🍤 🍥 , lost related json", err)
_ = fmt.Errorf("lost related json %s", err)
return
}
......
......@@ -55,7 +55,7 @@ var reverseCmd = &cobra.Command{
acmd := exec.Command("dot", []string{"-Tsvg", config.CocaConfig.ReporterPath + "/rcall.dot", "-o", config.CocaConfig.ReporterPath + "/rcall.svg"}...)
output, err := acmd.CombinedOutput()
if err != nil {
log.Fatalf("cmd.Run() failed with %s\n", err, string(output))
log.Fatalf("cmd.Run() failed with %s%s\n", err, string(output))
}
},
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册