diff options
author | Rob Bast <rob.bast@gmail.com> | 2018-08-21 11:32:17 +0200 |
---|---|---|
committer | Rob Bast <rob.bast@gmail.com> | 2018-08-21 11:32:17 +0200 |
commit | 810540edfad0736a294efede7664038134f5b5a0 (patch) | |
tree | 53a39e00865ad50aa959736e189fea530e5a2e0c /pkg | |
parent | 8e3df6b981c8d501fcaecf6689aa7f78c25920fa (diff) |
add return
Diffstat (limited to 'pkg')
-rw-r--r-- | pkg/gui/branches_panel.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/gui/branches_panel.go b/pkg/gui/branches_panel.go index 886b4c493..e0b947f13 100644 --- a/pkg/gui/branches_panel.go +++ b/pkg/gui/branches_panel.go @@ -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 { |