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(
369369 if let Some ( plan) = do_msvc_check ( & opts) {
370370 if no_prompt {
371371 warn ! ( "installing msvc toolchain without its prerequisites" ) ;
372- } else if plan == VsInstallPlan :: Automatic {
372+ } else if !quiet && plan == VsInstallPlan :: Automatic {
373373 md ( & mut term, MSVC_AUTO_INSTALL_MESSAGE ) ;
374374 if common:: confirm (
375375 "Automatically download and install Visual Studio 2022 Community edition? (Y/n)" ,
@@ -383,7 +383,7 @@ pub(crate) fn install(
383383 return Ok ( utils:: ExitCode ( 0 ) ) ;
384384 }
385385 }
386- } else if plan == VsInstallPlan :: Manual {
386+ } else {
387387 md ( & mut term, MSVC_MESSAGE ) ;
388388 md ( & mut term, MSVC_MANUAL_INSTALL_MESSAGE ) ;
389389 if !common:: confirm ( "\n Continue? (y/N)" , false ) ? {
You can’t perform that action at this time.
0 commit comments