aboutsummaryrefslogtreecommitdiffstats
path: root/commands/bug/bug_comment_edit.go
diff options
context:
space:
mode:
Diffstat (limited to 'commands/bug/bug_comment_edit.go')
-rw-r--r--commands/bug/bug_comment_edit.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/commands/bug/bug_comment_edit.go b/commands/bug/bug_comment_edit.go
index ded3d82a..e6f8d667 100644
--- a/commands/bug/bug_comment_edit.go
+++ b/commands/bug/bug_comment_edit.go
@@ -13,8 +13,7 @@ type bugCommentEditOptions struct {
nonInteractive bool
}
-func newBugCommentEditCommand() *cobra.Command {
- env := execenv.NewEnv()
+func newBugCommentEditCommand(env *execenv.Env) *cobra.Command {
options := bugCommentEditOptions{}
cmd := &cobra.Command{