feat(prompter): include no as false-y value

Co-authored-by: Andy Feller <andyfeller@github.com>
This commit is contained in:
Kynan Ware 2025-04-02 11:58:10 -06:00 committed by GitHub
parent 92b1a8e0f0
commit 88a98ea63a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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,