1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2024-11-26 09:00:57 +02:00

add return

This commit is contained in:
Rob Bast 2018-08-21 11:32:17 +02:00
parent 8e3df6b981
commit 810540edfa
No known key found for this signature in database
GPG Key ID: 73076E35E6165F39

View File

@ -62,11 +62,11 @@ func (gui *Gui) handleNewBranch(g *gocui.Gui, v *gocui.View) error {
}
func (gui *Gui) handleDeleteBranch(g *gocui.Gui, v *gocui.View) error {
gui.deleteBranch(g, v, false)
return gui.deleteBranch(g, v, false)
}
func (gui *Gui) handleForceDeleteBranch(g *gocui.Gui, v *gocui.View) error {
gui.deleteBranch(g, v, true)
return gui.deleteBranch(g, v, true)
}
func (gui *Gui) deleteBranch(g *gocui.Gui, v *gocui.View, force bool) error {