Skip to content

Commit

Permalink
spelling fix
Browse files Browse the repository at this point in the history
  • Loading branch information
zakird authored May 25, 2020
1 parent dbb3332 commit eef788b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions v2/cmd/zlint/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ func outputSummary(zlintResult *zlint.ResultSet, longSummary bool) {
// make a table with the internal lint names grouped
// by type
longTable := tablewriter.NewWriter(os.Stdout)
longTable.SetHeader([]string{"Level", "# occurances", "Details"})
longTable.SetHeader([]string{"Level", "# occurrences", "Details"})
longTable.SetAutoMergeCells(true)
for _, level := range sortedLevels {
foundDetail := false
Expand All @@ -289,7 +289,7 @@ func outputSummary(zlintResult *zlint.ResultSet, longSummary bool) {
// Make a table of the count of each error type and
// print it nicely
table := tablewriter.NewWriter(os.Stdout)
table.SetHeader([]string{"Level", "# occurances"})
table.SetHeader([]string{"Level", "# occurrences"})

for _, level := range sortedLevels {
table.Append([]string{
Expand Down

1 comment on commit eef788b

@acaird
Copy link
Contributor

@acaird acaird commented on eef788b May 25, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

o.m.g. i'm sorry. and embarrassed. thanks for correcting the spelling,

Please sign in to comment.