diff --git a/pkg/printers/github.go b/pkg/printers/github.go index 5374a2ec..b170f8c9 100644 --- a/pkg/printers/github.go +++ b/pkg/printers/github.go @@ -30,8 +30,9 @@ func formatIssueAsGithub(issue *result.Issue) string { } func (g *github) Print(ctx context.Context, issues []result.Issue) error { - for _, issue := range issues { - _, err := fmt.Fprintln(logutils.StdOut, formatIssueAsGithub(&issue)) + for ind := range issues { + issue := &issues[ind] + _, err := fmt.Fprintln(logutils.StdOut, formatIssueAsGithub(issue)) if err != nil { return err }