diff --git a/src/context.rs b/src/context.rs index 85ad8bd..b591ac1 100644 --- a/src/context.rs +++ b/src/context.rs @@ -313,7 +313,7 @@ fn ask_to_run(cmd: &ProcessBuilder, ask: bool, text: &str) -> Result<()> { "" | "y" | "yes" => {} "n" | "no" => bail!("aborting as per your request"), a => bail!("invalid answer `{}`", a), - }; + } } else { info!("running {} to {}", cmd, text); } diff --git a/src/main.rs b/src/main.rs index 667eede..9e29a68 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1077,7 +1077,7 @@ impl Format { println!("{out}"); } return Ok(()); - }; + } if cx.args.cov.codecov { if term::verbose() { @@ -1097,7 +1097,7 @@ impl Format { println!("{out}"); } return Ok(()); - }; + } if let Some(output_path) = &cx.args.cov.output_path { if term::verbose() {