aboutsummaryrefslogtreecommitdiffstats
path: root/commands/bug/bug_label_rm.go
diff options
context:
space:
mode:
Diffstat (limited to 'commands/bug/bug_label_rm.go')
-rw-r--r--commands/bug/bug_label_rm.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/commands/bug/bug_label_rm.go b/commands/bug/bug_label_rm.go
index 18510bbd..6dda007c 100644
--- a/commands/bug/bug_label_rm.go
+++ b/commands/bug/bug_label_rm.go
@@ -7,9 +7,7 @@ import (
"github.com/MichaelMure/git-bug/util/text"
)
-func newBugLabelRmCommand() *cobra.Command {
- env := execenv.NewEnv()
-
+func newBugLabelRmCommand(env *execenv.Env) *cobra.Command {
cmd := &cobra.Command{
Use: "rm [BUG_ID] LABEL...",
Short: "Remove a label from a bug",