aboutsummaryrefslogtreecommitdiffstats
path: root/commands/add.go
diff options
context:
space:
mode:
Diffstat (limited to 'commands/add.go')
-rw-r--r--commands/add.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/add.go b/commands/add.go
index ff4f9529..e656a262 100644
--- a/commands/add.go
+++ b/commands/add.go
@@ -57,7 +57,7 @@ func runAddBug(cmd *cobra.Command, args []string) error {
var addCmd = &cobra.Command{
Use: "add",
Short: "Create a new bug.",
- PreRunE: loadRepo,
+ PreRunE: loadRepoEnsureUser,
RunE: runAddBug,
}