minor: unblock metrics

This commit is contained in:
Lukas Wirth 2022-03-16 12:11:21 +01:00
parent 9f2b4ef0f4
commit 46008d4cf4

View file

@ -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")?;