mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-08-07 22:02:56 +03:00
Remove return value of IContextMgr.Push/Pop et. al.
This commit is contained in:
@@ -223,9 +223,7 @@ func (gui *Gui) onInitialViewsCreationForRepo() error {
|
||||
}
|
||||
|
||||
initialContext := gui.c.Context().Current()
|
||||
if err := gui.c.Context().Activate(initialContext, types.OnFocusOpts{}); err != nil {
|
||||
return err
|
||||
}
|
||||
gui.c.Context().Activate(initialContext, types.OnFocusOpts{})
|
||||
|
||||
return gui.loadNewRepo()
|
||||
}
|
||||
|
Reference in New Issue
Block a user