Skip to content

Commit b7dada2

Browse files
committed
slight cleanup
1 parent 04e6fd5 commit b7dada2

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

pkg/printers/github.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,9 @@ func formatIssueAsGithub(issue *result.Issue) string {
2828
return ret
2929
}
3030

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

0 commit comments

Comments
 (0)