aboutsummaryrefslogtreecommitdiffstats
path: root/commands/label_add.go
diff options
context:
space:
mode:
Diffstat (limited to 'commands/label_add.go')
-rw-r--r--commands/label_add.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/label_add.go b/commands/label_add.go
index 6e2679d9..39dfb085 100644
--- a/commands/label_add.go
+++ b/commands/label_add.go
@@ -38,7 +38,7 @@ func runLabelAdd(cmd *cobra.Command, args []string) error {
var labelAddCmd = &cobra.Command{
Use: "add [<id>] <label>[...]",
Short: "Add a label to a bug.",
- PreRunE: loadRepo,
+ PreRunE: loadRepoEnsureUser,
RunE: runLabelAdd,
}