Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update buildtools/cli.go
Browse files Browse the repository at this point in the history
Co-authored-by: Yahav Itschak <[email protected]>
sverdlov93 and yahavi authored Jan 8, 2025
1 parent 651147c commit 8b3633b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions buildtools/cli.go
Original file line number Diff line number Diff line change
@@ -970,10 +970,9 @@ func setupCmd(c *cli.Context) (err error) {
}

func selectPackageManagerInteractively() (selectedPackageManager project.ProjectType, err error) {
allSupportedPackageManagers := setup.GetSupportedPackageManagersList()
var selected string
var selectableItems []ioutils.PromptItem
for _, packageManager := range allSupportedPackageManagers {
for _, packageManager := range setup.GetSupportedPackageManagersList() {
selectableItems = append(selectableItems, ioutils.PromptItem{Option: packageManager.String(), TargetValue: &selected})
}
err = ioutils.SelectString(selectableItems, "Please select a package manager to set up:", false, func(item ioutils.PromptItem) {

0 comments on commit 8b3633b

Please sign in to comment.