fix len condition
This commit is contained in:
2
main.go
2
main.go
@@ -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{
|
||||||
|
Reference in New Issue
Block a user