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(
676 ownerUrl: string 676 ownerUrl: string
677} | undefined { 677} | undefined {
678 const githubMatch = updateUrl.match( 678 const githubMatch = updateUrl.match(
679 /^https:\/\/api\.github\.com\/repos\/([^/]+)\/([^/]+)\/releases$/ 679 /^https:\/\/api\.github\.com\/repos\/([^/]+)\/([^/]+)\/releases(?:\/|$)/
680 ) 680 )
681 if (githubMatch) { 681 if (githubMatch) {
682 const [, owner, repo] = githubMatch 682 const [, owner, repo] = githubMatch
@@ -689,7 +689,7 @@ function parseEchoRepo(
689 } 689 }
690 } 690 }
691 const gitlabMatch = updateUrl.match( 691 const gitlabMatch = updateUrl.match(
692 /^https:\/\/(gitlab\.com)\/api\/v4\/projects\/([^/]+)\/releases\b/ 692 /^https:\/\/(gitlab\.com)\/api\/v4\/projects\/([^/]+)\/releases(?:\/|$)/
693 ) 693 )
694 if (gitlabMatch) { 694 if (gitlabMatch) {
695 const [, host, encodedPath] = gitlabMatch 695 const [, host, encodedPath] = gitlabMatch