1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-06-17 00:18:05 +02:00

Remove return value of RefreshPatchBuildingPanel

This commit is contained in:
Stefan Haller
2024-09-05 10:37:53 +02:00
parent 371998e635
commit 6f0182f11c
3 changed files with 7 additions and 11 deletions

View File

@ -67,9 +67,7 @@ func (self *PatchBuildingController) GetOnFocus() func(types.OnFocusOpts) {
// no need to change wrap on the secondary view because it can't be interacted with
self.c.Views().PatchBuilding.Wrap = false
// Swallowing the error here for now. This will change shortly to not
// return an error any more.
_ = self.c.Helpers().PatchBuilding.RefreshPatchBuildingPanel(opts) // FIXME
self.c.Helpers().PatchBuilding.RefreshPatchBuildingPanel(opts)
}
}