Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions news/changelog-1.9.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,3 +136,4 @@ All changes included in 1.9:
- ([#13856](https://github.com/quarto-dev/quarto-cli/issues/13856)): Add code annotation support for Typst and Observable.js code blocks. (author: @mcanouil)
- ([#13890](https://github.com/quarto-dev/quarto-cli/issues/13890)): Fix render failure when using `embed-resources: true` with input path through a symlinked directory. The cleanup now resolves symlinks before comparing paths.
- ([#13907](https://github.com/quarto-dev/quarto-cli/issues/13907)): Ignore AI assistant configuration files (`CLAUDE.md`, `AGENTS.md`) when scanning for project input files and in extension templates, similar to how `README.md` is handled.
- ([#13935](https://github.com/quarto-dev/quarto-cli/issues/13935)): Fix `quarto install`, `quarto update`, and `quarto uninstall` interactive tool selection.
10 changes: 6 additions & 4 deletions src/tools/tools-console.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Copyright (C) 2021-2022 Posit Software, PBC
*/
import * as colors from "fmt/colors";
import { Confirm, Select } from "cliffy/prompt/mod.ts";
import { Confirm, prompt, Select } from "cliffy/prompt/mod.ts";
import { Table } from "cliffy/table/mod.ts";
import { info, warning } from "../deno_ral/log.ts";

Expand Down Expand Up @@ -237,7 +237,8 @@ export async function selectTool(
}
};

const toolTarget: string = (await Select.prompt({
const result = await prompt([{
name: "tool",
message: `Select a tool to ${action}`,
options: toolsInfo.map((toolInfo) => {
return {
Expand All @@ -248,6 +249,7 @@ export async function selectTool(
: !toolInfo.installed,
};
}),
})).value;
return toolTarget;
type: Select,
}]);
return result.tool;
}
Loading