Skip to content

Commit

Permalink
Improve upload archive progress bar
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Sverdlov <[email protected]>
  • Loading branch information
sverdlov93 committed Jan 8, 2025
1 parent d1ae1d1 commit 5d54f3f
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions buildtools/cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -976,12 +976,10 @@ func selectPackageManagerInteractively() (selectedPackageManager project.Project
for _, packageManager := range setup.GetSupportedPackageManagersList() {
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) {
err = ioutils.SelectString(selectableItems, "Please select a package manager to set up:", false, func(item ioutils.PromptItem) {
*item.TargetValue = item.Option
selectedPackageManager = project.FromString(*item.TargetValue)
}); err != nil {
return
}
})
return
}

Expand Down

0 comments on commit 5d54f3f

Please sign in to comment.