fix(prompter): remove needless default value assignment
This commit is contained in:
parent
9eee77a2bf
commit
20ff409bfc
1 changed files with 0 additions and 4 deletions
|
|
@ -136,10 +136,6 @@ func (p *accessiblePrompter) Input(prompt, defaultValue string) (string, error)
|
|||
)
|
||||
|
||||
err := form.Run()
|
||||
|
||||
if result == "" {
|
||||
return defaultValue, nil
|
||||
}
|
||||
return result, err
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue