multiple fixes

This commit is contained in:
tdurieux committed 2026-05-03 15:30:54 +02:00
1 parent 1968e3341a
commit a5f66d6844
31 files changed
+1513 -464

No files matched your search

+1 -1
View File
@@ -128,7 +128,7 @@ function generateRandomId(length) {
function parseGithubUrl(url) {
if (!url) throw "Invalid url";
const matches = url
.replace(".git", "")
.replace(/\.git(\/|$)/, "$1")
.match(
/.*?github.com\/(?<owner>[\w-\._]+)\/(?<repo>[\w-\._]+)(\/pull\/(?<PR>[0-9]+))?/
);