Fix typo leading to metrics loss

This commit is contained in:
Jonas Schievink 2020-12-11 17:55:52 +01:00
parent 7fc4ba000e
commit 64752ef5e9

View File

@ -84,7 +84,7 @@ fn measure_analysis_stats_path(&mut self, name: &str, path: &str) -> Result<()>
eprintln!("\nMeasuring analysis-stats/{}", name);
let output = Command::new("./target/release/rust-analyzer")
.args(&["analysis-stats", "--quiet", "--memory-usage", path])
.stdout(Stdio::inherit())
.stderr(Stdio::inherit())
.output()?;
let output = String::from_utf8(output.stdout)?;
for (metric, value, unit) in parse_metrics(&output) {