Don't print cargo version to stdout, breaking everything

This commit is contained in:
Aleksey Kladov 2020-04-24 23:02:10 +02:00
parent 51a0058d4c
commit aa669c5ba5

View file

@ -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();