Commit e9a7a9077f

e9a7a9077f387cfc133d21549cdd2bd66c0024ad

parent: 751cecef24

Unsigned

Duck <57977673+woducku@users.noreply.github.com> · 2026-10-17 06:13 UTC

Update parsers.ts

Layout: unified · split

docs/ext/extensionRepos/parsers.ts +2 −2
@@ -676,7 +676,7 @@ function parseEchoRepo(
676676 ownerUrl: string
677677} | undefined {
678678 const githubMatch = updateUrl.match(
679 /^https:\/\/api\.github\.com\/repos\/([^/]+)\/([^/]+)\/releases$/
679 /^https:\/\/api\.github\.com\/repos\/([^/]+)\/([^/]+)\/releases(?:\/|$)/
680680 )
681681 if (githubMatch) {
682682 const [, owner, repo] = githubMatch
@@ -689,7 +689,7 @@ function parseEchoRepo(
689689 }
690690 }
691691 const gitlabMatch = updateUrl.match(
692 /^https:\/\/(gitlab\.com)\/api\/v4\/projects\/([^/]+)\/releases\b/
692 /^https:\/\/(gitlab\.com)\/api\/v4\/projects\/([^/]+)\/releases(?:\/|$)/
693693 )
694694 if (gitlabMatch) {
695695 const [, host, encodedPath] = gitlabMatch