Skip to content

Commit

Permalink
add endings
Browse files Browse the repository at this point in the history
  • Loading branch information
morphy2k committed Oct 11, 2024
1 parent 3302e92 commit 26f09a8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ func getFailures(ch chan *failure) {
}

func printFailure(f *failure, wg *sync.WaitGroup) {
s := fmt.Sprintf("file=%s,line=%d,col=%d::%s\n",
f.Position.Start.Filename, f.Position.Start.Line, f.Position.Start.Column, f.Failure)
s := fmt.Sprintf("file=%s,line=%d,endLine=%d,col=%d,endColumn=%d::%s\n",
f.Position.Start.Filename, f.Position.Start.Line, f.Position.End.Line, f.Position.Start.Column, f.Position.End.Column, f.Failure)

if f.Severity == "warning" {
fmt.Printf("::warning %s", s)
Expand Down

0 comments on commit 26f09a8

Please sign in to comment.