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

Fix base and head

上级 b98eae1f
......@@ -72,7 +72,7 @@ func pullRequest(cmd *Command, args []string) {
log.Fatal("Aborting due to empty pull request title")
}
params := github.PullRequestParams{title, body, flagPullRequestBase, flagPullRequestHead, flagPullRequestIssue}
params := github.PullRequestParams{title, body, repo.Base, repo.Head, flagPullRequestIssue}
pullRequestResponse, err := gh.CreatePullRequest(params)
utils.Check(err)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册