提交 bf3def3d 编写于 作者: J Jingwen Owen Ou

Remove unused method

上级 6380325c
......@@ -96,12 +96,6 @@ func writePullRequestChanges(repo *Repo, messageFile string) error {
return ioutil.WriteFile(messageFile, []byte(message), 0644)
}
func getLocalBranch(branchName string) string {
result := strings.Split(branchName, ":")
return result[len(result)-1]
}
func buildEditCommand(repo *Repo, messageFile string) *ExecCmd {
editor := repo.Editor
editCmd := NewExecCmd(editor)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册