bootstrap: Forward cargo JSON output to stout, not stderr

This commit is contained in:
Zalathar
2024-12-10 23:09:00 +11:00
parent b597d2a099
commit 604ba9214d
@@ -2261,7 +2261,7 @@ pub fn stream_cargo(
Ok(msg) => {
if builder.config.json_output {
// Forward JSON to stdout.
eprintln!("{line}");
println!("{line}");
}
cb(msg)
}