We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 19c3e24 commit e415d43Copy full SHA for e415d43
1 file changed
crates/vite_installer/src/cli.rs
@@ -54,8 +54,8 @@ pub fn parse() -> Options {
54
if opts.registry.is_none() {
55
opts.registry = std::env::var("NPM_CONFIG_REGISTRY").ok();
56
}
57
- // quiet implies yes
58
- if opts.quiet {
+ // CI and quiet both imply non-interactive (no prompts)
+ if opts.quiet || std::env::var_os("CI").is_some() {
59
opts.yes = true;
60
61
0 commit comments