Update pkg/commands/github.go

Co-authored-by: Jesse Duffield <jessedduffield@gmail.com>
This commit is contained in:
Yuki Osaki 2021-11-09 21:21:59 +09:00 committed by GitHub
parent 37aa558d34
commit 27a12fe2ea
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -40,7 +40,7 @@ func (c *GitCommand) GenerateGithubPullRequestMap(prs []*models.GithubPullReques
}
for _, branch := range branches {
if !branch.IsTrackingRemote() {
if !branch.IsTrackingRemote() || branch.BranchName() == "" {
continue
}