Skip to content

Commit

Permalink
Update issue-detection RegEx
Browse files Browse the repository at this point in the history
  • Loading branch information
JosephTLyons committed Aug 11, 2024
1 parent 36a560d commit 492f6b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion script/danger/dangerfile.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ if (!hasReleaseNotes) {
}

const ISSUE_LINK_PATTERN = new RegExp(
"(?:^|\\s)(?:#(\\d+)|https:\\/\\/github\\.com\\/zed-industries\\/zed\\/issues\\/(\\d+))",
"(?:https://github\\.com/[\\w-]+/[\\w-]+/issues/\\d+|#\\d+)",
"g",
);

Expand Down

0 comments on commit 492f6b9

Please sign in to comment.