This commit is contained in:
Liang Ding 2023-05-05 23:31:20 +08:00
parent 2d559a943d
commit 1702b7cf96
No known key found for this signature in database
GPG key ID: 136F30F901A2231D

View file

@ -431,9 +431,10 @@ func GetPackageREADME(repoURL, repoHash, packageType string) (ret string) {
return
}
fullRepoURLHash := "https://github.com/" + repoURLHash
var repo *StageRepo
for _, r := range stageIndex.Repos {
if r.URL == repoURLHash {
if r.URL == fullRepoURLHash {
repo = r
break
}