diff --git a/buildtools/cli.go b/buildtools/cli.go index 4ea8c3497..124cfad6a 100644 --- a/buildtools/cli.go +++ b/buildtools/cli.go @@ -973,7 +973,7 @@ func selectPackageManagerInteractively() (selectedPackageManager project.Project var selected string var selectableItems []ioutils.PromptItem for _, packageManager := range setup.GetSupportedPackageManagersList() { - selectableItems = append(selectableItems, ioutils.PromptItem{Option: packageManager.String(), TargetValue: &selected}) + selectableItems = append(selectableItems, ioutils.PromptItem{Option: packageManager, TargetValue: &selected}) } if err = ioutils.SelectString(selectableItems, "Please select a package manager to set up:", false, func(item ioutils.PromptItem) { *item.TargetValue = item.Option