mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-07-30 03:23:08 +03: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:
@ -127,9 +127,7 @@ func (self *RemotesController) enter(remote *models.Remote) error {
|
||||
remoteBranchesContext.SetParentContext(self.Context())
|
||||
remoteBranchesContext.GetView().TitlePrefix = self.Context().GetView().TitlePrefix
|
||||
|
||||
if err := self.c.PostRefreshUpdate(remoteBranchesContext); err != nil {
|
||||
return err
|
||||
}
|
||||
self.c.PostRefreshUpdate(remoteBranchesContext)
|
||||
|
||||
self.c.Context().Push(remoteBranchesContext)
|
||||
return nil
|
||||
|
Reference in New Issue
Block a user