Skip to content

Commit

Permalink
Removed duplicate table header
Browse files Browse the repository at this point in the history
I don’t know how this got in here, but it’s a mistake.
  • Loading branch information
daveshanley committed Apr 21, 2024
1 parent 2bed9e6 commit b62ed62
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
7 changes: 0 additions & 7 deletions cmd/lint.go
Original file line number Diff line number Diff line change
Expand Up @@ -407,13 +407,6 @@ func processResults(results []*model.RuleFunctionResult,
break
}

if snippets {
tableData = [][]string{{"Location", "Severity", "Message", "Rule", "Category", "Path"}}
}
if noMessage {
tableData = [][]string{{"Location", "Severity", "Rule", "Category", "Path"}}
}

startLine := 0
startCol := 0
if r.StartNode != nil {
Expand Down
1 change: 0 additions & 1 deletion statistics/statistics_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,5 +79,4 @@ func TestCreateReportStatistics_BigLoadOfIssues(t *testing.T) {
case <-d:
break
}

}

0 comments on commit b62ed62

Please sign in to comment.