mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-07-30 03:23:08 +03:00
Remove return value of IContextMgr.Push/Pop et. al.
This commit is contained in:
@ -74,7 +74,8 @@ func (self *QuitActions) Escape() error {
|
||||
parentContext := currentContext.GetParentContext()
|
||||
if parentContext != nil {
|
||||
// TODO: think about whether this should be marked as a return rather than adding to the stack
|
||||
return self.c.Context().Push(parentContext)
|
||||
self.c.Context().Push(parentContext)
|
||||
return nil
|
||||
}
|
||||
|
||||
for _, mode := range self.c.Helpers().Mode.Statuses() {
|
||||
|
Reference in New Issue
Block a user