File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -369,7 +369,7 @@ pub(crate) fn install(
369
369
if let Some ( plan) = do_msvc_check ( & opts) {
370
370
if no_prompt {
371
371
warn ! ( "installing msvc toolchain without its prerequisites" ) ;
372
- } else if plan == VsInstallPlan :: Automatic {
372
+ } else if !quiet && plan == VsInstallPlan :: Automatic {
373
373
md ( & mut term, MSVC_AUTO_INSTALL_MESSAGE ) ;
374
374
if common:: confirm (
375
375
"Automatically download and install Visual Studio 2022 Community edition? (Y/n)" ,
@@ -383,7 +383,7 @@ pub(crate) fn install(
383
383
return Ok ( utils:: ExitCode ( 0 ) ) ;
384
384
}
385
385
}
386
- } else if plan == VsInstallPlan :: Manual {
386
+ } else {
387
387
md ( & mut term, MSVC_MESSAGE ) ;
388
388
md ( & mut term, MSVC_MANUAL_INSTALL_MESSAGE ) ;
389
389
if !common:: confirm ( "\n Continue? (y/N)" , false ) ? {
You can’t perform that action at this time.
0 commit comments