From 7397c94d993541b33e555b758ebdb8f61ff33c6c Mon Sep 17 00:00:00 2001 From: Michael Muré Date: Fri, 31 Aug 2018 13:18:03 +0200 Subject: make CLI commands use the cache to lock the repo properly --- termui/show_bug.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'termui/show_bug.go') diff --git a/termui/show_bug.go b/termui/show_bug.go index 48592fc4..84337c8b 100644 --- a/termui/show_bug.go +++ b/termui/show_bug.go @@ -599,7 +599,7 @@ func (sb *showBug) addLabel(g *gocui.Gui, v *gocui.View) error { return r == ' ' || r == ',' }) - err := sb.bug.ChangeLabels(trimLabels(labels), nil) + err := sb.bug.ChangeLabels(nil, trimLabels(labels), nil) if err != nil { ui.msgPopup.Activate(msgPopupErrorTitle, err.Error()) } @@ -622,7 +622,7 @@ func (sb *showBug) removeLabel(g *gocui.Gui, v *gocui.View) error { return r == ' ' || r == ',' }) - err := sb.bug.ChangeLabels(nil, trimLabels(labels)) + err := sb.bug.ChangeLabels(nil, nil, trimLabels(labels)) if err != nil { ui.msgPopup.Activate(msgPopupErrorTitle, err.Error()) } -- cgit