Skip to content

Commit fc13a6c

Browse files
committed
erebor now expects top-lvel Values
1 parent 9b74529 commit fc13a6c

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

faux-mgs/src/main.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2398,7 +2398,8 @@ async fn run_command(
23982398
ereport.ena.into_u64(),
23992399
));
24002400
lines.push(String::new());
2401-
let pretty = erebor::Displayer::new(&ereport.data).to_string();
2401+
let data = serde_json::Value::Object(ereport.data);
2402+
let pretty = erebor::Displayer::new(&data).to_string();
24022403
lines.push(pretty);
24032404
}
24042405

0 commit comments

Comments
 (0)