From aa669c5ba5ed154f893dfd9ca45c05a8be47e48a Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Fri, 24 Apr 2020 23:02:10 +0200 Subject: [PATCH] Don't print cargo version to stdout, breaking everything --- crates/ra_project_model/src/cargo_workspace.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/ra_project_model/src/cargo_workspace.rs b/crates/ra_project_model/src/cargo_workspace.rs index 0613310f1f..362ee30fe0 100644 --- a/crates/ra_project_model/src/cargo_workspace.rs +++ b/crates/ra_project_model/src/cargo_workspace.rs @@ -143,7 +143,7 @@ impl CargoWorkspace { ) -> Result { let _ = Command::new(cargo_binary()) .arg("--version") - .status() + .output() .context("failed to run `cargo --version`, is `cargo` in PATH?")?; let mut meta = MetadataCommand::new();