From 957667efe6b069786584aed6034e24d543b0879d Mon Sep 17 00:00:00 2001 From: Kynan Ware <47394200+BagToad@users.noreply.github.com> Date: Tue, 6 May 2025 15:33:51 -0600 Subject: [PATCH] doc(prompter): remove TODO about default value panic --- internal/prompter/prompter.go | 1 - 1 file changed, 1 deletion(-) diff --git a/internal/prompter/prompter.go b/internal/prompter/prompter.go index c5bf04691..eb8e2e58f 100644 --- a/internal/prompter/prompter.go +++ b/internal/prompter/prompter.go @@ -126,7 +126,6 @@ func (p *accessiblePrompter) MultiSelect(prompt string, defaults []string, optio // If this option is in the defaults slice, // let's add its index to the result slice and huh // will treat it as a default selection. - // TODO: does an invalid default value constitute a panic? if slices.Contains(defaults, o) { result = append(result, i) }