aboutsummaryrefslogtreecommitdiffstats
path: root/termui/termui.go
diff options
context:
space:
mode:
Diffstat (limited to 'termui/termui.go')
-rw-r--r--termui/termui.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/termui/termui.go b/termui/termui.go
index 78900de8..54d9df69 100644
--- a/termui/termui.go
+++ b/termui/termui.go
@@ -226,7 +226,7 @@ func addCommentWithEditor(bug *cache.BugCache) error {
if err == input.ErrEmptyMessage {
ui.msgPopup.Activate(msgPopupErrorTitle, "Empty message, aborting.")
} else {
- err := bug.AddComment(message)
+ _, err := bug.AddComment(message)
if err != nil {
return err
}
@@ -261,7 +261,7 @@ func editCommentWithEditor(bug *cache.BugCache, target git.Hash, preMessage stri
} else if message == preMessage {
ui.msgPopup.Activate(msgPopupErrorTitle, "No changes found, aborting.")
} else {
- err := bug.EditComment(target, message)
+ _, err := bug.EditComment(target, message)
if err != nil {
return err
}
@@ -298,7 +298,7 @@ func setTitleWithEditor(bug *cache.BugCache) error {
} else if title == snap.Title {
ui.msgPopup.Activate(msgPopupErrorTitle, "No change, aborting.")
} else {
- err := bug.SetTitle(title)
+ _, err := bug.SetTitle(title)
if err != nil {
return err
}