linter appeasement

This commit is contained in:
nate smith 2023-04-10 18:03:13 -07:00
parent c536114de0
commit cb0d2a8671

View file

@ -81,7 +81,7 @@ func (p *surveyPrompter) MultiSelect(message string, defaultValue, options []str
// TODO will I regret this returning []string and not []int?
if defaultValue != nil && len(defaultValue) > 0 {
if len(defaultValue) > 0 {
// TODO I don't actually know that this is needed, just being extra cautious
validatedDefault := []string{}
for _, x := range defaultValue {