Skip to content

Commit

Permalink
chore(lint): help msg unused param
Browse files Browse the repository at this point in the history
  • Loading branch information
maaslalani committed May 1, 2023
1 parent 7590e13 commit dc58240
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion help/help.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down
3 changes: 2 additions & 1 deletion textinput/textinput.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit dc58240

Please sign in to comment.