Skip to content

Commit 3797aa7

Browse files
author
vilmibm
committed
delete unused parameter
1 parent b5366c6 commit 3797aa7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/cmd/repo/create/create.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ func createRun(opts *CreateOptions) error {
231231

232232
createLocalDirectory := opts.ConfirmSubmit
233233
if !opts.ConfirmSubmit {
234-
opts.ConfirmSubmit, err = confirmSubmission(input.Name, input.OwnerID, &opts.ConfirmSubmit)
234+
opts.ConfirmSubmit, err = confirmSubmission(input.Name, input.OwnerID)
235235
if err != nil {
236236
return err
237237
}
@@ -369,7 +369,7 @@ func interactiveRepoCreate(isDescEmpty bool, isVisibilityPassed bool, repoName s
369369
return answers.RepoName, answers.RepoDescription, strings.ToUpper(answers.RepoVisibility), nil
370370
}
371371

372-
func confirmSubmission(repoName string, repoOwner string, isConfirmFlagPassed *bool) (bool, error) {
372+
func confirmSubmission(repoName string, repoOwner string) (bool, error) {
373373
qs := []*survey.Question{}
374374

375375
promptString := ""

0 commit comments

Comments
 (0)