1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-07-31 14:24:25 +03:00

appease golangci

This commit is contained in:
Jesse Duffield
2019-03-12 19:20:19 +11:00
parent 3b2353b5ae
commit c98eddc185
3 changed files with 6 additions and 4 deletions

View File

@ -265,7 +265,9 @@ func (gui *Gui) onFocusLost(v *gocui.View, newView *gocui.View) error {
}
} else if v.Name() == "commitFiles" {
gui.g.SetViewOnBottom(v.Name())
if _, err := gui.g.SetViewOnBottom(v.Name()); err != nil {
return err
}
}
gui.Log.Info(v.Name() + " focus lost")
return nil