diff options
Diffstat (limited to 'commands/close.go')
-rw-r--r-- | commands/close.go | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/commands/close.go b/commands/close.go index 6e668a50..15f50926 100644 --- a/commands/close.go +++ b/commands/close.go @@ -23,7 +23,12 @@ func runCloseBug(repo repository.Repo, args []string) error { return err } - op := operations.NewSetStatusOp(bug.ClosedStatus) + author, err := bug.GetUser(repo) + if err != nil { + return err + } + + op := operations.NewSetStatusOp(author, bug.ClosedStatus) b.Append(op) |