forked from Plemya-x/ALR
		
	fix: add handling len(pkgs) == 0
				
					
				
			This commit is contained in:
		@@ -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
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user