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 {
|
func (g *github) Print(ctx context.Context, issues []result.Issue) error {
|
||||||
for _, issue := range issues {
|
for ind := range issues {
|
||||||
_, err := fmt.Fprintln(logutils.StdOut, formatIssueAsGithub(&issue))
|
issue := &issues[ind]
|
||||||
|
_, err := fmt.Fprintln(logutils.StdOut, formatIssueAsGithub(issue))
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user