Skip to content

Commit c26f8b0

Browse files
committed
use correct var in error msg
1 parent b2ba2c2 commit c26f8b0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cmd/merge.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ func runMerge(cfg *config.Config, target string) error {
6868
}
6969

7070
if br.PullRequest == nil {
71-
cfg.Errorf("no pull request found for branch %q", currentBranch)
71+
cfg.Errorf("no pull request found for branch %q", br.Branch)
7272
cfg.Printf(" Run %s to create PRs for this stack.", cfg.ColorCyan("gh stack push"))
7373
return ErrSilent
7474
}

0 commit comments

Comments
 (0)