aboutsummaryrefslogtreecommitdiffstats
path: root/commands
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2018-07-19 18:34:25 +0200
committerMichael Muré <batolettre@gmail.com>2018-07-19 18:34:25 +0200
commit59e6ae872cad5683a9f1887cbef382d0e76ecc61 (patch)
tree747cad4cd54adb225e927429979252f8b0433a68 /commands
parent0a7814f33a44a57924ac4c6dfeca20cf741dc1f3 (diff)
downloadgit-bug-59e6ae872cad5683a9f1887cbef382d0e76ecc61.tar.gz
NewBug can no longer error
Diffstat (limited to 'commands')
-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)