From 46008d4cf452e04e5fa3befe070e2d15decac93e Mon Sep 17 00:00:00 2001 From: Lukas Wirth Date: Wed, 16 Mar 2022 12:11:21 +0100 Subject: [PATCH] minor: unblock metrics --- xtask/src/metrics.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xtask/src/metrics.rs b/xtask/src/metrics.rs index b683b32e6d5..aa700d715d5 100644 --- a/xtask/src/metrics.rs +++ b/xtask/src/metrics.rs @@ -17,7 +17,7 @@ impl flags::Metrics { pub(crate) fn run(self, sh: &Shell) -> anyhow::Result<()> { let mut metrics = Metrics::new(sh)?; if !self.dry_run { - sh.remove_path("./target/release")?; + let _ = sh.remove_path("./target/release"); } if !Path::new("./target/rustc-perf").exists() { sh.create_dir("./target/rustc-perf")?;