aboutsummaryrefslogtreecommitdiffstats
path: root/commands/new.go
diff options
context:
space:
mode:
Diffstat (limited to 'commands/new.go')
-rw-r--r--commands/new.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/new.go b/commands/new.go
index f3127fc6..ab237e32 100644
--- a/commands/new.go
+++ b/commands/new.go
@@ -59,7 +59,7 @@ func RunNewBug(repo repository.Repo, args []string) error {
createOp := operations.NewCreateOp(author, title, *newMessage)
newbug.Append(createOp)
- newbug.Commit()
+ newbug.Commit(repo)
return nil