Skip to content

Conversation

@cderv
Copy link
Collaborator

@cderv cderv commented Jan 22, 2026

When running quarto install, quarto update, or quarto uninstall without arguments, the interactive tool selector shows the list but the selection always returns undefined.

Root Cause

Same issue as #9765 - Cliffy's Select.prompt() returns the selected value directly, but the code incorrectly accesses .value on the result.

Fix

Use the prompt() array syntax with a named field, same pattern as #9765.

Same bug as #9765 - Cliffy's Select.prompt() returns the selected value
directly, but the code incorrectly accesses .value on it. Using the
prompt() array syntax with a named field as done in #9765.
@posit-snyk-bot
Copy link
Collaborator

posit-snyk-bot commented Jan 22, 2026

Snyk checks have passed. No issues have been found so far.

Status Scanner Critical High Medium Low Total (0)
Open Source Security 0 0 0 0 0 issues
Licenses 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

@cderv
Copy link
Collaborator Author

cderv commented Jan 22, 2026

Building 'quarto.exe' for this branch: https://github.com/quarto-dev/quarto-cli/actions/runs/21256479552

Because it seems that cliffy in dev version does not work well - I can't select choices in the list with the arrow 🤷

@cderv
Copy link
Collaborator Author

cderv commented Jan 22, 2026

Tested locally that this works as expected now. Glad we found it at last !!

@cderv cderv merged commit 48b0c24 into main Jan 22, 2026
69 checks passed
@cderv cderv deleted the fix/tools-select-prompt-value branch January 22, 2026 17:13
@cderv cderv added this to the v1.9 milestone Jan 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants