aboutsummaryrefslogtreecommitdiffstats
path: root/commands/new.go
diff options
context:
space:
mode:
Diffstat (limited to 'commands/new.go')
-rw-r--r--commands/new.go5
1 files changed, 1 insertions, 4 deletions
diff --git a/commands/new.go b/commands/new.go
index 09369fe4..63bd885c 100644
--- a/commands/new.go
+++ b/commands/new.go
@@ -44,10 +44,7 @@ func runNewBug(cmd *cobra.Command, args []string) error {
return err
}
- newBug, err := bug.NewBug()
- if err != nil {
- return err
- }
+ newBug := bug.NewBug()
createOp := operations.NewCreateOp(author, title, newMessage)