Skip to content

Commit 276e0d1

Browse files
committed
Fixing linter issues
1 parent da4a14d commit 276e0d1

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

pkg/printers/github.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,9 @@ func formatIssueAsGithub(issue *result.Issue) string {
3030
}
3131

3232
func (g *github) Print(ctx context.Context, issues []result.Issue) error {
33-
for _, issue := range issues {
34-
_, err := fmt.Fprintln(logutils.StdOut, formatIssueAsGithub(&issue))
33+
for ind := range issues {
34+
issue := &issues[ind]
35+
_, err := fmt.Fprintln(logutils.StdOut, formatIssueAsGithub(issue))
3536
if err != nil {
3637
return err
3738
}

0 commit comments

Comments
 (0)