aboutsummaryrefslogtreecommitdiffstats
path: root/termui
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2019-06-16 21:04:36 +0200
committerMichael Muré <batolettre@gmail.com>2019-06-16 21:04:36 +0200
commit08c0e18ade5241d124fc8a3424b7612174e82cef (patch)
treee7b1c0203d62e83ab8368d8a5974749fa97506dc /termui
parentd69dcce806d280ddbd6a4fb17700153bc03da90b (diff)
downloadgit-bug-08c0e18ade5241d124fc8a3424b7612174e82cef.tar.gz
cache: expose the operation when creating a new bug
Diffstat (limited to 'termui')
-rw-r--r--termui/termui.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/termui/termui.go b/termui/termui.go
index 54d9df69..46f9dd06 100644
--- a/termui/termui.go
+++ b/termui/termui.go
@@ -190,7 +190,7 @@ func newBugWithEditor(repo *cache.RepoCache) error {
return errTerminateMainloop
} else {
- b, err = repo.NewBug(title, message)
+ b, _, err = repo.NewBug(title, message)
if err != nil {
return err
}