remove tautological (unnecessary) nil condition

This commit is contained in:
JupiterRider
2025-08-20 19:45:53 +02:00
committed by André Roth
parent 5de38a987a
commit cfdb720ef4
+1 -1
View File
@@ -574,7 +574,7 @@ func (repo *RemoteRepo) DownloadPackageIndexes(progress aptly.Progress, d aptly.
if progress != nil {
progress.ColoredPrintf("@y[!]@| @!skipping package %s: duplicate in packages index@|", p)
}
} else if err != nil {
} else {
return err
}
}