Skip to content

Commit

Permalink
fix: lint warn
Browse files Browse the repository at this point in the history
  • Loading branch information
aymanbagabas committed Apr 29, 2022
1 parent 292a1dd commit f5ac642
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions help/help.go
Expand Up @@ -164,11 +164,10 @@ func (m Model) FullHelpView(groups [][]key.Binding) string {
return ""
}

// Linter note: at this time we don't think it's worth the additional
// code complexity involved in preallocating this slice.
//nolint:prealloc
var (
// Linter note: at this time we don't think it's worth the additional
// code complexity involved in preallocating this slice.
//
//nolint:prealloc
out []string

totalWidth int
Expand Down

0 comments on commit f5ac642

Please sign in to comment.