Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
morphy2k committed Dec 7, 2020
1 parent 79f3c6a commit cf8912d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ func getFailures(ch chan *failure) {
}

func createAnnotations(failures []*failure) []*github.CheckRunAnnotation {
annoations := make([]*github.CheckRunAnnotation, len(failures))
annotations := make([]*github.CheckRunAnnotation, len(failures))

for i, f := range failures {
var level string
Expand All @@ -186,10 +186,10 @@ func createAnnotations(failures []*failure) []*github.CheckRunAnnotation {
a.EndColumn = github.Int(f.Position.End.Column)
}

annoations[i] = a
annotations[i] = a
}

return annoations
return annotations
}

func pushFailures(check *github.CheckRun, failures []*failure, stats *failureStats, wg *sync.WaitGroup) {
Expand Down

0 comments on commit cf8912d

Please sign in to comment.