mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-07-30 03:23:08 +03:00
Remove return value from ResizeCurrentPopupPanel
It always returned nil, so there's no point in returning an error.
This commit is contained in:
@ -173,9 +173,7 @@ func (gui *Gui) layout(g *gocui.Gui) error {
|
||||
// if you run `lazygit --logs`
|
||||
// this will let you see these branches as prettified json
|
||||
// gui.c.Log.Info(utils.AsJson(gui.State.Model.Branches[0:4]))
|
||||
if err := gui.helpers.Confirmation.ResizeCurrentPopupPanel(); err != nil {
|
||||
return err
|
||||
}
|
||||
gui.helpers.Confirmation.ResizeCurrentPopupPanel()
|
||||
|
||||
gui.renderContextOptionsMap()
|
||||
|
||||
|
Reference in New Issue
Block a user