diff --git a/internal/config/wizard.go b/internal/config/wizard.go index 8f4ba04..b98babc 100644 --- a/internal/config/wizard.go +++ b/internal/config/wizard.go @@ -105,7 +105,7 @@ func (w *Wizard) AddStringSliceVar(callback *[]string, name string, defaultValue var input string w.newStringPromptWithDefault(&input, strings.Join(defaultValue, ","), usage, required) - *callback = strings.Split(input, ",") + *callback = strings.Split(strings.ReplaceAll(input, " ", ""), ",") }, dependency: dependency, })