From 20ff409bfcf0d7316fd05ab3d06a970a434cdbd0 Mon Sep 17 00:00:00 2001 From: Kynan Ware <47394200+BagToad@users.noreply.github.com> Date: Thu, 10 Apr 2025 10:56:12 -0600 Subject: [PATCH] fix(prompter): remove needless default value assignment --- internal/prompter/prompter.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/internal/prompter/prompter.go b/internal/prompter/prompter.go index 6cdbc9a87..7dd45bf5c 100644 --- a/internal/prompter/prompter.go +++ b/internal/prompter/prompter.go @@ -136,10 +136,6 @@ func (p *accessiblePrompter) Input(prompt, defaultValue string) (string, error) ) err := form.Run() - - if result == "" { - return defaultValue, nil - } return result, err }