mirror of
https://github.com/rust-lang/rust-analyzer
synced 2025-01-12 21:28:51 +00:00
minor: unblock metrics
This commit is contained in:
parent
9f2b4ef0f4
commit
46008d4cf4
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ impl flags::Metrics {
|
||||||
pub(crate) fn run(self, sh: &Shell) -> anyhow::Result<()> {
|
pub(crate) fn run(self, sh: &Shell) -> anyhow::Result<()> {
|
||||||
let mut metrics = Metrics::new(sh)?;
|
let mut metrics = Metrics::new(sh)?;
|
||||||
if !self.dry_run {
|
if !self.dry_run {
|
||||||
sh.remove_path("./target/release")?;
|
let _ = sh.remove_path("./target/release");
|
||||||
}
|
}
|
||||||
if !Path::new("./target/rustc-perf").exists() {
|
if !Path::new("./target/rustc-perf").exists() {
|
||||||
sh.create_dir("./target/rustc-perf")?;
|
sh.create_dir("./target/rustc-perf")?;
|
||||||
|
|
Loading…
Reference in a new issue