aboutsummaryrefslogtreecommitdiffstats
path: root/commands/bug/bug_rm.go
diff options
context:
space:
mode:
Diffstat (limited to 'commands/bug/bug_rm.go')
-rw-r--r--commands/bug/bug_rm.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/commands/bug/bug_rm.go b/commands/bug/bug_rm.go
index 386c57ec..b9d3d525 100644
--- a/commands/bug/bug_rm.go
+++ b/commands/bug/bug_rm.go
@@ -8,9 +8,7 @@ import (
"github.com/MichaelMure/git-bug/commands/execenv"
)
-func newBugRmCommand() *cobra.Command {
- env := execenv.NewEnv()
-
+func newBugRmCommand(env *execenv.Env) *cobra.Command {
cmd := &cobra.Command{
Use: "rm BUG_ID",
Short: "Remove an existing bug",