Skip to content

Commit

Permalink
Dont skip scanning commits if scanning comments errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
ahrav committed Jul 30, 2023
1 parent 10b6e28 commit 5152711
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion pkg/sources/github/github.go
Original file line number Diff line number Diff line change
Expand Up @@ -699,7 +699,6 @@ func (s *Source) scan(ctx context.Context, installationClient *github.Client, ch

if err = s.scanComments(ctx, repoURL, chunksChan); err != nil {
scanErrs.Add(fmt.Errorf("error scanning comments in repo %s: %w", repoURL, err))
return nil
}

if err = s.git.ScanRepo(ctx, repo, path, s.scanOptions, chunksChan); err != nil {
Expand Down

0 comments on commit 5152711

Please sign in to comment.