We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent da4a14d commit 276e0d1Copy full SHA for 276e0d1
pkg/printers/github.go
@@ -30,8 +30,9 @@ func formatIssueAsGithub(issue *result.Issue) string {
30
}
31
32
func (g *github) Print(ctx context.Context, issues []result.Issue) error {
33
- for _, issue := range issues {
34
- _, err := fmt.Fprintln(logutils.StdOut, formatIssueAsGithub(&issue))
+ for ind := range issues {
+ issue := &issues[ind]
35
+ _, err := fmt.Fprintln(logutils.StdOut, formatIssueAsGithub(issue))
36
if err != nil {
37
return err
38
0 commit comments