From fe4b1518bb8f2bd5b64a335108e768e7e08cfc5b Mon Sep 17 00:00:00 2001 From: Ahrav Dutta Date: Thu, 17 Aug 2023 15:46:15 -0700 Subject: [PATCH] do it for miccah. --- pkg/sources/github/github.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkg/sources/github/github.go b/pkg/sources/github/github.go index 18fff8d2d433..bf7157e6e0de 100644 --- a/pkg/sources/github/github.go +++ b/pkg/sources/github/github.go @@ -1064,11 +1064,11 @@ func (s *Source) processRepoComments(ctx context.Context, repoPath string, trimm } - if !s.includePRComments { - return nil + if s.includePRComments { + return s.processPRComments(ctx, repoInfo, chunksChan) } + return nil - return s.processPRComments(ctx, repoInfo, chunksChan) } func (s *Source) processIssueComments(ctx context.Context, info repoInfo, chunksChan chan *sources.Chunk) error {