fixes prompt asking for msvc even though -y is provided
@@ -219,7 +219,7 @@ pub fn install(no_prompt: bool, verbose: bool,
try!(do_pre_install_sanity_checks());
try!(do_anti_sudo_check(no_prompt));
- if !try!(do_msvc_check(&opts)) {
+ if !no_prompt && !try!(do_msvc_check(&opts)) {
info!("aborting installation");
return Ok(());
}
