aboutsummaryrefslogtreecommitdiffstats
path: root/commands/bug/bug_status_open.go
diff options
context:
space:
mode:
Diffstat (limited to 'commands/bug/bug_status_open.go')
-rw-r--r--commands/bug/bug_status_open.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/commands/bug/bug_status_open.go b/commands/bug/bug_status_open.go
index 74177974..e99d2db0 100644
--- a/commands/bug/bug_status_open.go
+++ b/commands/bug/bug_status_open.go
@@ -6,9 +6,7 @@ import (
"github.com/MichaelMure/git-bug/commands/execenv"
)
-func newBugStatusOpenCommand() *cobra.Command {
- env := execenv.NewEnv()
-
+func newBugStatusOpenCommand(env *execenv.Env) *cobra.Command {
cmd := &cobra.Command{
Use: "open [BUG_ID]",
Short: "Mark a bug as open",