Skip to content

Commit d23e947

Browse files
fix(rabbit): fix closing issue detection regex
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
1 parent ff1b978 commit d23e947

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/routes/tracker/[org]/[repo]/+page.server.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ export async function load({ params }) {
3434
if (
3535
lowerBody.includes(`${keyword} #`) ||
3636
lowerBody.includes(`${keyword} https://github.com`) ||
37-
new RegExp(`${keyword} [A-z0-9]+/[A-z0-9]+#[0-9]+`).test(lowerBody)
37+
new RegExp(`${keyword} [A-Za-z0-9_-]+/[A-Za-z0-9_-]+#[0-9]+`).test(lowerBody)
3838
) {
3939
return false;
4040
}

0 commit comments

Comments
 (0)