Skip to content

Commit 2e2720b

Browse files
committed
fix(installer): pass opts.yes instead of opts.quiet to install_production_deps
The silent parameter gates the release-age fallback prompt. Using opts.quiet meant that -y without -q would still show the prompt, blocking unattended installs. Use opts.yes so non-interactive mode correctly suppresses all prompts.
1 parent 0403a4c commit 2e2720b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/vite_installer/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ async fn do_install(
239239
install::install_production_deps(
240240
&version_dir,
241241
opts.registry.as_deref(),
242-
opts.quiet,
242+
opts.yes,
243243
&resolved.version,
244244
)
245245
.await?;

0 commit comments

Comments
 (0)