fix: linter
This commit is contained in:
parent
0c67bd41b5
commit
6dbb18b543
|
@ -123,8 +123,7 @@ func (m *UI) handleEnteringPassword(teaMsg tea.Msg) tea.Cmd {
|
|||
|
||||
var cmd tea.Cmd
|
||||
|
||||
switch msg := teaMsg.(type) {
|
||||
case tea.KeyMsg:
|
||||
if msg, ok := teaMsg.(tea.KeyMsg); ok {
|
||||
switch {
|
||||
case key.Matches(msg, keyBindingQuit):
|
||||
return tea.Quit
|
||||
|
|
Loading…
Reference in New Issue
Block a user