Skip to content

Commit 103c703

Browse files
committedJan 23, 2025·
fix: find previous PRs in other repos via table parsing
1 parent dd55992 commit 103c703

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎gitstack.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -581,7 +581,7 @@ def parse_prev_prs_from_table(self) -> List["PullRequest"]:
581581
ret.append(PullRequest.from_ref(int(pr_str[1:])))
582582
else:
583583
# Parse the URL out of a markdown link
584-
match = re.match(r"^\[[^\]]*\]\((.*)\)$", line)
584+
match = re.match(r"^\[[^\]]*\]\((.*)\)$", pr_str)
585585
if match:
586586
ret.append(PullRequest.from_ref(match[1]))
587587
return ret

0 commit comments

Comments
 (0)
Please sign in to comment.