aboutsummaryrefslogtreecommitdiffstats
path: root/commands/status_close.go
diff options
context:
space:
mode:
Diffstat (limited to 'commands/status_close.go')
-rw-r--r--commands/status_close.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/status_close.go b/commands/status_close.go
index 94d05ddf..08c67e87 100644
--- a/commands/status_close.go
+++ b/commands/status_close.go
@@ -31,7 +31,7 @@ func runStatusClose(cmd *cobra.Command, args []string) error {
var closeCmd = &cobra.Command{
Use: "close [<id>]",
Short: "Mark a bug as closed.",
- PreRunE: loadRepo,
+ PreRunE: loadRepoEnsureUser,
RunE: runStatusClose,
}