refactor(prompter): remove unused variable
This commit is contained in:
parent
ef58e627f9
commit
c4be95afd9
1 changed files with 1 additions and 3 deletions
|
|
@ -202,7 +202,6 @@ func (p *speechSynthesizerFriendlyPrompter) AuthToken() (string, error) {
|
|||
}
|
||||
|
||||
func (p *speechSynthesizerFriendlyPrompter) ConfirmDeletion(requiredValue string) error {
|
||||
var result string
|
||||
// EchoMode(huh.EchoModePassword) doesn't have any effect in accessible mode.
|
||||
form := p.newForm(
|
||||
huh.NewGroup(
|
||||
|
|
@ -213,8 +212,7 @@ func (p *speechSynthesizerFriendlyPrompter) ConfirmDeletion(requiredValue string
|
|||
return fmt.Errorf("You entered: %q", input)
|
||||
}
|
||||
return nil
|
||||
}).
|
||||
Value(&result),
|
||||
}),
|
||||
),
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue