Skip to content

Commit aa669c5

Browse files
committed
Don't print cargo version to stdout, breaking everything
1 parent 51a0058 commit aa669c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/ra_project_model/src/cargo_workspace.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ impl CargoWorkspace {
143143
) -> Result<CargoWorkspace> {
144144
let _ = Command::new(cargo_binary())
145145
.arg("--version")
146-
.status()
146+
.output()
147147
.context("failed to run `cargo --version`, is `cargo` in PATH?")?;
148148

149149
let mut meta = MetadataCommand::new();

0 commit comments

Comments
 (0)