mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-06-15 00:15:32 +02:00
Get rid of error return value of PostRefreshUpdate and a few related ones
I missed these in https://github.com/jesseduffield/lazygit/pull/3890.
This commit is contained in:
@ -58,7 +58,8 @@ func (self *QuitActions) Escape() error {
|
||||
if listContext, ok := currentContext.(types.IListContext); ok {
|
||||
if listContext.GetList().IsSelectingRange() {
|
||||
listContext.GetList().CancelRangeSelect()
|
||||
return self.c.PostRefreshUpdate(listContext)
|
||||
self.c.PostRefreshUpdate(listContext)
|
||||
return nil
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user