mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-26 13:03:31 +00:00
Don't print cargo version to stdout, breaking everything
This commit is contained in:
parent
51a0058d4c
commit
aa669c5ba5
1 changed files with 1 additions and 1 deletions
|
@ -143,7 +143,7 @@ impl CargoWorkspace {
|
|||
) -> Result<CargoWorkspace> {
|
||||
let _ = Command::new(cargo_binary())
|
||||
.arg("--version")
|
||||
.status()
|
||||
.output()
|
||||
.context("failed to run `cargo --version`, is `cargo` in PATH?")?;
|
||||
|
||||
let mut meta = MetadataCommand::new();
|
||||
|
|
Loading…
Reference in a new issue