Skip to content

Fix interactive tool selection in quarto install/update/uninstall - #13935

Merged
cderv merged 2 commits into
mainfrom
fix/tools-select-prompt-value
Jan 22, 2026
Merged

cderv merged 2 commits into
mainfrom
fix/tools-select-prompt-value

Conversation

@cderv

@cderv cderv commented Jan 22, 2026

Copy link
Copy Markdown
Member

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

posit-snyk-bot commented Jan 22, 2026 •

Copy link
Copy Markdown
Collaborator

✅ 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

cderv commented Jan 22, 2026

Copy link
Copy Markdown
Member Author

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

cderv commented Jan 22, 2026

Copy link
Copy Markdown
Member Author

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

@cderv
cderv merged commit 48b0c24 into main Jan 22, 2026
67 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.

2 participants