From cd9f211826c7f6a35d218401f81b8f5db750b7b7 Mon Sep 17 00:00:00 2001 From: Sam Coe Date: Tue, 9 Feb 2021 09:48:58 -0800 Subject: [PATCH] Remove unused code --- pkg/cmd/issue/edit/edit.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/pkg/cmd/issue/edit/edit.go b/pkg/cmd/issue/edit/edit.go index cb6e55afd..856537e3e 100644 --- a/pkg/cmd/issue/edit/edit.go +++ b/pkg/cmd/issue/edit/edit.go @@ -12,7 +12,6 @@ import ( prShared "github.com/cli/cli/pkg/cmd/pr/shared" "github.com/cli/cli/pkg/cmdutil" "github.com/cli/cli/pkg/iostreams" - "github.com/cli/cli/utils" "github.com/shurcooL/githubv4" "github.com/spf13/cobra" ) @@ -22,7 +21,6 @@ type EditOptions struct { IO *iostreams.IOStreams BaseRepo func() (ghrepo.Interface, error) - OpenInBrowser func(string) error DetermineEditor func() (string, error) FieldsToEditSurvey func(*prShared.EditableOptions) error EditableSurvey func(string, *prShared.EditableOptions) error @@ -38,7 +36,6 @@ func NewCmdEdit(f *cmdutil.Factory, runF func(*EditOptions) error) *cobra.Comman opts := &EditOptions{ IO: f.IOStreams, HttpClient: f.HttpClient, - OpenInBrowser: utils.OpenInBrowser, DetermineEditor: func() (string, error) { return cmdutil.DetermineEditor(f.Config) }, FieldsToEditSurvey: prShared.FieldsToEditSurvey, EditableSurvey: prShared.EditableSurvey,