fix repo url parsing (again)

This commit is contained in:
☙◦ The Tablet ❀ GamerGirlandCo ◦❧ committed 2026-04-02 20:01:04 -04:00
1 parent cc334eff43
commit 1e2c2dc058
1 file changed
+2 -1
+2 -1
View File
@@ -140,9 +140,10 @@ func ParseRepositoryURL(ctx context.Context, repoURL string) (*RepositoryURL, er
if len(fields) >= 4 { if len(fields) >= 4 {
ret.RemainingPath = "/" + fields[3] ret.RemainingPath = "/" + fields[3]
} }
} else {
ret.RepoName = strings.TrimSuffix(fields[1], ".git")
} }
} }
return
} }
switch parsed.URL.Scheme { switch parsed.URL.Scheme {