remove redundant availability check

This commit is contained in:
2023-05-23 20:29:01 +02:00
parent e8e6b44ad1
commit 025ab9a75a

View File

@@ -43,11 +43,6 @@ var (
) )
func (p *ProtoPackage) isEligible(ctx context.Context) bool { func (p *ProtoPackage) isEligible(ctx context.Context) bool {
if !p.isAvailable(alpmHandle) {
log.Debugf("[%s/%s] not available on mirror, skipping build", p.FullRepo, p.Pkgbase)
return false
}
skipping := false skipping := false
switch { switch {
case p.Arch == "any": case p.Arch == "any":