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