From cb0d2a86715b18ca6833222dee6b62351ca87397 Mon Sep 17 00:00:00 2001 From: nate smith Date: Mon, 10 Apr 2023 18:03:13 -0700 Subject: [PATCH] linter appeasement --- 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 60c223cff..ada470d06 100644 --- a/internal/prompter/prompter.go +++ b/internal/prompter/prompter.go @@ -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 {