未验证 提交 2e5b452a 编写于 作者: P Phodal Huang

test: change dot cmd for CI build

上级 5f604f37
......@@ -2,6 +2,7 @@ package cmd_util
import (
"encoding/json"
"fmt"
"github.com/phodal/coca/config"
"github.com/phodal/coca/core/models"
"github.com/phodal/coca/core/support"
......@@ -24,7 +25,7 @@ func ConvertToSvg(name string) {
cmd := exec.Command("dot", []string{"-Tsvg", config.CocaConfig.ReporterPath + "/" + name + ".dot", "-o", config.CocaConfig.ReporterPath + "/" + name + ".svg"}...)
_, err := cmd.CombinedOutput()
if err != nil {
log.Fatalf("cmd.Run() failed with %s\n", err)
fmt.Println("cmd.Run() failed with %s\n", err)
}
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册