From 27a12fe2ea260e6f0eea3c947b0cc7279866fb63 Mon Sep 17 00:00:00 2001 From: Yuki Osaki Date: Tue, 9 Nov 2021 21:21:59 +0900 Subject: [PATCH] Update pkg/commands/github.go Co-authored-by: Jesse Duffield --- pkg/commands/github.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/commands/github.go b/pkg/commands/github.go index dca4fb34d..f9e8e0e32 100644 --- a/pkg/commands/github.go +++ b/pkg/commands/github.go @@ -40,7 +40,7 @@ func (c *GitCommand) GenerateGithubPullRequestMap(prs []*models.GithubPullReques } for _, branch := range branches { - if !branch.IsTrackingRemote() { + if !branch.IsTrackingRemote() || branch.BranchName() == "" { continue }