Merge pull request 'fix: add handling len(pkgs) == 0
' (#48) from Maks1mS/ALR:fix/handle-notfound-package into master
Reviewed-on: #48
This commit is contained in:
commit
eb2cc3c1e6
@ -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