forked from Plemya-x/ALR
fix: add handling len(pkgs) == 0
This commit is contained in:
parent
9cf8af08ab
commit
7a3acfe5c1
@ -152,6 +152,10 @@ func checkForUpdates(
|
|||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if len(pkgs) == 0 {
|
||||||
|
continue
|
||||||
|
}
|
||||||
|
|
||||||
pkg := pkgs[0]
|
pkg := pkgs[0]
|
||||||
|
|
||||||
repoVer := pkg.Version
|
repoVer := pkg.Version
|
||||||
|
Loading…
Reference in New Issue
Block a user