diff options
author | Aleksey Kladov <[email protected]> | 2020-04-24 22:02:10 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2020-04-24 22:02:10 +0100 |
commit | aa669c5ba5ed154f893dfd9ca45c05a8be47e48a (patch) | |
tree | 052149c23590648f7616af3091673af119752ed2 /crates/ra_project_model | |
parent | 51a0058d4c01ca8a64066528f82aa4bb7cc4fc54 (diff) |
Don't print cargo version to stdout, breaking everything
Diffstat (limited to 'crates/ra_project_model')
-rw-r--r-- | crates/ra_project_model/src/cargo_workspace.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_project_model/src/cargo_workspace.rs b/crates/ra_project_model/src/cargo_workspace.rs index 0613310f1..362ee30fe 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 { | |||
143 | ) -> Result<CargoWorkspace> { | 143 | ) -> Result<CargoWorkspace> { |
144 | let _ = Command::new(cargo_binary()) | 144 | let _ = Command::new(cargo_binary()) |
145 | .arg("--version") | 145 | .arg("--version") |
146 | .status() | 146 | .output() |
147 | .context("failed to run `cargo --version`, is `cargo` in PATH?")?; | 147 | .context("failed to run `cargo --version`, is `cargo` in PATH?")?; |
148 | 148 | ||
149 | let mut meta = MetadataCommand::new(); | 149 | let mut meta = MetadataCommand::new(); |