remove tautological (unnecessary) nil condition

This commit is contained in:
JupiterRider authored and André Roth committed 2026-06-19 22:20:45 +02:00
1 parent 474d4fac36
commit 96512fb0e2
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
}
}