fix: lint warn

This commit is contained in:
Ayman Bagabas 2022-04-28 16:09:12 -04:00
parent 292a1dd7ba
commit f5ac64216b

View File

@ -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