remove tautological (unnecessary) nil condition

This commit is contained in:
JupiterRider
2025-08-20 19:45:53 +02:00
parent 8ca4cb8dcb
commit 4b73ae462f

View File

@@ -574,7 +574,7 @@ func (repo *RemoteRepo) DownloadPackageIndexes(progress aptly.Progress, d aptly.
if progress != nil { if progress != nil {
progress.ColoredPrintf("@y[!]@| @!skipping package %s: duplicate in packages index@|", p) progress.ColoredPrintf("@y[!]@| @!skipping package %s: duplicate in packages index@|", p)
} }
} else if err != nil { } else {
return err return err
} }
} }