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 04e6fd5 commit b7dada2Copy full SHA for b7dada2
pkg/printers/github.go
@@ -28,10 +28,9 @@ func formatIssueAsGithub(issue *result.Issue) string {
28
return ret
29
}
30
31
-func (g *github) Print(ctx context.Context, issues []result.Issue) error {
+func (g *github) Print(_ context.Context, issues []result.Issue) error {
32
for ind := range issues {
33
- issue := &issues[ind]
34
- _, err := fmt.Fprintln(logutils.StdOut, formatIssueAsGithub(issue))
+ _, err := fmt.Fprintln(logutils.StdOut, formatIssueAsGithub(&issues[ind]))
35
if err != nil {
36
return err
37
0 commit comments