Fixing linter issues
This commit is contained in:
parent
da4a14d827
commit
276e0d1e3b
@ -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
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user