提交 e6449bb0 编写于 作者: Z zhaoke

* Do not parse % in steps.

上级 be1a1435
......@@ -291,12 +291,14 @@ func genDescFromRPE(file string) (steps []string, needExtract bool) {
output := make([]string, 0)
content, err := cmd.CombinedOutput()
contentByte, err := cmd.CombinedOutput()
if err != nil {
return output, true
}
output = strings.Split(string(content), "\n")
content := string(contentByte)
content = strings.ReplaceAll(content, "%", "%%")
output = strings.Split(content, "\n")
os.Remove(md5FileName)
return output, true
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册