forked from Plemya-x/ALR
		
	Merge pull request 'fix: add handling len(pkgs) == 0' (#48) from Maks1mS/ALR:fix/handle-notfound-package into master
				
					
				
			Reviewed-on: Plemya-x/ALR#48
This commit is contained in:
		@@ -152,6 +152,10 @@ func checkForUpdates(
 | 
			
		||||
				return nil, err
 | 
			
		||||
			}
 | 
			
		||||
 | 
			
		||||
			if len(pkgs) == 0 {
 | 
			
		||||
				continue
 | 
			
		||||
			}
 | 
			
		||||
 | 
			
		||||
			pkg := pkgs[0]
 | 
			
		||||
 | 
			
		||||
			repoVer := pkg.Version
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user