doc(prompter): small typo

This commit is contained in:
Kynan Ware 2025-04-30 08:04:16 -06:00 committed by GitHub
parent 8130126ce5
commit 00c930d509
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -102,7 +102,7 @@ func (p *accessiblePrompter) MultiSelect(prompt string, defaults []string, optio
formOptions := make([]huh.Option[int], len(options))
for i, o := range options {
// If this option is in the defaults slice,
// let's add it's index to the result slice and huh
// 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) {