diff --git a/api/internal/crawl/crawler/github/crawler.go b/api/internal/crawl/crawler/github/crawler.go index 1184171de..a42c33074 100644 --- a/api/internal/crawl/crawler/github/crawler.go +++ b/api/internal/crawl/crawler/github/crawler.go @@ -193,7 +193,9 @@ func processQuery(ctx context.Context, gcl GhClient, query string, errs = append(errs, err) errorCnt++ } - output <- k + if k != nil { + output <- k + } totalCnt++ }