aboutsummaryrefslogtreecommitdiffstats
path: root/commands
diff options
context:
space:
mode:
Diffstat (limited to 'commands')
-rw-r--r--commands/comment_add.go2
-rw-r--r--commands/label_add.go2
-rw-r--r--commands/label_rm.go2
-rw-r--r--commands/status_close.go2
-rw-r--r--commands/status_open.go2
-rw-r--r--commands/title_edit.go2
6 files changed, 6 insertions, 6 deletions
diff --git a/commands/comment_add.go b/commands/comment_add.go
index 58408bc5..80955da5 100644
--- a/commands/comment_add.go
+++ b/commands/comment_add.go
@@ -46,7 +46,7 @@ func runCommentAdd(cmd *cobra.Command, args []string) error {
}
}
- err = b.AddComment(commentAddMessage)
+ _, err = b.AddComment(commentAddMessage)
if err != nil {
return err
}
diff --git a/commands/label_add.go b/commands/label_add.go
index f04ed7d6..2b808311 100644
--- a/commands/label_add.go
+++ b/commands/label_add.go
@@ -22,7 +22,7 @@ func runLabelAdd(cmd *cobra.Command, args []string) error {
return err
}
- changes, err := b.ChangeLabels(args, nil)
+ changes, _, err := b.ChangeLabels(args, nil)
for _, change := range changes {
fmt.Println(change)
diff --git a/commands/label_rm.go b/commands/label_rm.go
index 36051ba1..6b48fe72 100644
--- a/commands/label_rm.go
+++ b/commands/label_rm.go
@@ -22,7 +22,7 @@ func runLabelRm(cmd *cobra.Command, args []string) error {
return err
}
- changes, err := b.ChangeLabels(nil, args)
+ changes, _, err := b.ChangeLabels(nil, args)
for _, change := range changes {
fmt.Println(change)
diff --git a/commands/status_close.go b/commands/status_close.go
index 2b4f9602..03618cc6 100644
--- a/commands/status_close.go
+++ b/commands/status_close.go
@@ -20,7 +20,7 @@ func runStatusClose(cmd *cobra.Command, args []string) error {
return err
}
- err = b.Close()
+ _, err = b.Close()
if err != nil {
return err
}
diff --git a/commands/status_open.go b/commands/status_open.go
index 5e3029e2..f19847db 100644
--- a/commands/status_open.go
+++ b/commands/status_open.go
@@ -20,7 +20,7 @@ func runStatusOpen(cmd *cobra.Command, args []string) error {
return err
}
- err = b.Open()
+ _, err = b.Open()
if err != nil {
return err
}
diff --git a/commands/title_edit.go b/commands/title_edit.go
index 6bbd1b0a..8848e7a8 100644
--- a/commands/title_edit.go
+++ b/commands/title_edit.go
@@ -44,7 +44,7 @@ func runTitleEdit(cmd *cobra.Command, args []string) error {
fmt.Println("No change, aborting.")
}
- err = b.SetTitle(titleEditTitle)
+ _, err = b.SetTitle(titleEditTitle)
if err != nil {
return err
}