chore(lint): help msg unused param

This commit is contained in:
Maas Lalani
2023-05-01 12:56:08 -04:00
parent 7590e13c2a
commit dc58240609
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -96,7 +96,7 @@ func New() Model {
var NewModel = New
// Update helps satisfy the Bubble Tea Model interface. It's a no-op.
func (m Model) Update(msg tea.Msg) (Model, tea.Cmd) {
func (m Model) Update(_ tea.Msg) (Model, tea.Cmd) {
return m, nil
}
+2 -1
View File
@@ -516,7 +516,8 @@ func (m Model) echoTransform(v string) string {
return strings.Repeat(string(m.EchoCharacter), rw.StringWidth(v))
case EchoNone:
return ""
case EchoNormal:
return v
default:
return v
}