Bump xshell and fix dist

This commit is contained in:
Laurențiu Nicola 2022-03-17 08:53:33 +02:00
parent c1cf2ef6f4
commit be6d5001e4
6 changed files with 9 additions and 9 deletions

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 {
let _ = sh.remove_path("./target/release");
sh.remove_path("./target/release")?;
}
if !Path::new("./target/rustc-perf").exists() {
sh.create_dir("./target/rustc-perf")?;