Skip to content

Commit

Permalink
fix: find previous PRs in other repos via table parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
stevearc committed Jan 23, 2025
1 parent dd55992 commit 103c703
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gitstack.py
Original file line number Diff line number Diff line change
Expand Up @@ -581,7 +581,7 @@ def parse_prev_prs_from_table(self) -> List["PullRequest"]:
ret.append(PullRequest.from_ref(int(pr_str[1:])))
else:
# Parse the URL out of a markdown link
match = re.match(r"^\[[^\]]*\]\((.*)\)$", line)
match = re.match(r"^\[[^\]]*\]\((.*)\)$", pr_str)
if match:
ret.append(PullRequest.from_ref(match[1]))
return ret
Expand Down

0 comments on commit 103c703

Please sign in to comment.