feat(prompter): include no as false-y value
Co-authored-by: Andy Feller <andyfeller@github.com>
This commit is contained in:
parent
92b1a8e0f0
commit
88a98ea63a
1 changed files with 1 additions and 1 deletions
|
|
@ -32,7 +32,7 @@ type Prompter interface {
|
|||
func New(editorCmd string, stdin ghPrompter.FileReader, stdout ghPrompter.FileWriter, stderr ghPrompter.FileWriter) Prompter {
|
||||
accessiblePrompterValue := os.Getenv("GH_SCREENREADER_FRIENDLY")
|
||||
switch accessiblePrompterValue {
|
||||
case "", "false", "0":
|
||||
case "", "false", "0", "no":
|
||||
return &surveyPrompter{
|
||||
prompter: ghPrompter.New(stdin, stdout, stderr),
|
||||
stdin: stdin,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue