Skip to content

Commit 3ffad0b

Browse files
committed
Add deprecation warning for 'quarto update tool chromium'
1 parent 2723152 commit 3ffad0b

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/tools/tools-console.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,14 @@ export async function updateOrInstallTool(
149149
prompt?: boolean,
150150
updatePath?: boolean,
151151
) {
152+
// Deprecation warning for chromium
153+
if (tool.toLowerCase() === "chromium" && action === "update") {
154+
warning(
155+
'"quarto update chromium" is deprecated and will be removed in Quarto 1.10. ' +
156+
'Use "quarto install chrome-headless-shell" instead.',
157+
);
158+
}
159+
152160
const summary = await toolSummary(tool);
153161

154162
if (action === "update") {

0 commit comments

Comments
 (0)