remove tautological (unnecessary) nil condition

This commit is contained in:
JupiterRider authored and André Roth committed 2026-06-19 14:47:34 +02:00
1 parent 0203b1ecfe
commit e5595b0455
1 file changed
+1 -1
+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
}
}