fix len condition

This commit is contained in:
2025-04-20 19:14:42 +02:00
parent a69ebec802
commit 14e853c793

View File

@@ -129,7 +129,7 @@ func main() {
} }
} }
if len(packagesInQueue) == 0 { if len(packagesInQueue) > 0 {
log.Debugf("found %d of your local packages in queue", len(packagesInQueue)) log.Debugf("found %d of your local packages in queue", len(packagesInQueue))
if *jsonFlag { if *jsonFlag {
err = json.NewEncoder(os.Stdout).Encode(JSONOut{ err = json.NewEncoder(os.Stdout).Encode(JSONOut{