Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Update issue-detection RegEx

Joseph T Lyons492f6b9cdffb
diff --git a/script/danger/dangerfile.ts b/script/danger/dangerfile.ts
index 8ff691774d0..3c64c457aca 100644
--- a/script/danger/dangerfile.ts
+++ b/script/danger/dangerfile.ts
@@ -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",
);