aboutsummaryrefslogtreecommitdiffstats
path: root/commands/open.go
diff options
context:
space:
mode:
Diffstat (limited to 'commands/open.go')
-rw-r--r--commands/open.go8
1 files changed, 2 insertions, 6 deletions
diff --git a/commands/open.go b/commands/open.go
index 7fa59b49..c99578cf 100644
--- a/commands/open.go
+++ b/commands/open.go
@@ -28,13 +28,9 @@ func runOpenBug(cmd *cobra.Command, args []string) error {
return err
}
- op := operations.NewSetStatusOp(author, bug.OpenStatus)
+ operations.Open(b, author)
- b.Append(op)
-
- err = b.Commit(repo)
-
- return err
+ return b.Commit(repo)
}
var openCmd = &cobra.Command{