From 88a98ea63a2694765c73b8887ca2ff905cb4c2c3 Mon Sep 17 00:00:00 2001 From: Kynan Ware <47394200+BagToad@users.noreply.github.com> Date: Wed, 2 Apr 2025 11:58:10 -0600 Subject: [PATCH] feat(prompter): include `no` as false-y value Co-authored-by: Andy Feller --- internal/prompter/prompter.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/prompter/prompter.go b/internal/prompter/prompter.go index 3e37834db..abadda3dc 100644 --- a/internal/prompter/prompter.go +++ b/internal/prompter/prompter.go @@ -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,