From 263d65adc1efb900299fd9d24dc4ad2874e3e2f5 Mon Sep 17 00:00:00 2001 From: SoXX Date: Mon, 28 Oct 2024 21:29:25 +0100 Subject: [PATCH] fix: Fix conditional check for anthroveFaves length --- pkg/plug/algorithm.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/plug/algorithm.go b/pkg/plug/algorithm.go index ed77874..c2d0618 100644 --- a/pkg/plug/algorithm.go +++ b/pkg/plug/algorithm.go @@ -99,7 +99,7 @@ outer: return taskSummery, err } - if len(anthroveFaves) > 0 { + if len(anthroveFaves) < 0 { span.AddEvent("No more favorites found to add") log.WithContext(ctx).WithFields(basicLoggingInfo).Info("No more favorites found") break outer