aboutsummaryrefslogtreecommitdiffstats
path: root/commands/label.go
diff options
context:
space:
mode:
Diffstat (limited to 'commands/label.go')
-rw-r--r--commands/label.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/commands/label.go b/commands/label.go
index 08b9e31f..d59479b4 100644
--- a/commands/label.go
+++ b/commands/label.go
@@ -6,9 +6,7 @@ import (
"github.com/MichaelMure/git-bug/commands/execenv"
)
-func newLabelCommand() *cobra.Command {
- env := execenv.NewEnv()
-
+func newLabelCommand(env *execenv.Env) *cobra.Command {
cmd := &cobra.Command{
Use: "label",
Short: "List valid labels",