From cf8912dfb85bfcb6d4ca13975f4d8a3c3433d16d Mon Sep 17 00:00:00 2001 From: Markus Wiegand Date: Mon, 7 Dec 2020 03:27:43 +0100 Subject: [PATCH] fix typo --- main.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/main.go b/main.go index b0381f8..cd5b976 100644 --- a/main.go +++ b/main.go @@ -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 @@ -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) {