Commit 61fe37b
fix(reviewManager): use pr.base.ref instead of pr.base.name in hasBranch call (#8698)
pr.base.ref is the branch name (e.g., "main") while
pr.base.name is the repository name. hasBranch() expects a branch
name, so passing pr.base.name would always query refs/heads/<repo-name>
which never matches an actual branch.
Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>1 parent b98446a commit 61fe37b
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
543 | 543 | | |
544 | 544 | | |
545 | 545 | | |
546 | | - | |
| 546 | + | |
547 | 547 | | |
548 | 548 | | |
549 | 549 | | |
| |||
0 commit comments