Skip to content

Commit b9ceaa3

Browse files
committed
symcheck: Format JSON output to make it more readable
1 parent 21e8e68 commit b9ceaa3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

crates/symbol-check/src/main.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,11 @@ fn exec_cargo_with_args(args: &[&str]) -> Vec<PathBuf> {
6060

6161
for line in reader.lines() {
6262
let line = line.expect("failed to read line");
63-
println!("{line}"); // tee to stdout
6463

6564
// Select only steps that create files
6665
let j: Value = serde_json::from_str(&line).expect("failed to deserialize");
66+
println!("{j:#?}"); // tee to stdout
67+
6768
if j["reason"] != "compiler-artifact" {
6869
continue;
6970
}

0 commit comments

Comments
 (0)