提交 c1419780 编写于 作者: J Jake Zimmerman

Remove dead code

上级 3e8f5bd8
......@@ -115,11 +115,8 @@ func writeIssueTitleAndBody(project *github.Project) (string, string, error) {
# text is the title and the rest is the description.
`
if template := github.GetIssueTemplate(); template == "" {
message = fmt.Sprintf(message, "", project.Name)
} else {
message = fmt.Sprintf(message, template, project.Name)
}
template := github.GetIssueTemplate()
message = fmt.Sprintf(message, template, project.Name)
editor, err := github.NewEditor("ISSUE", "issue", message)
if err != nil {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册