Skip to content

Commit

Permalink
print json in single line
Browse files Browse the repository at this point in the history
  • Loading branch information
shivaraj-bh committed Jan 16, 2025
1 parent 415f3e4 commit c678a6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/omnix-health/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ impl NixHealth {
let code = res.report();

if json_only {
println!("{}", serde_json::to_string_pretty(checks_map)?);
println!("{}", serde_json::to_string(checks_map)?);
}
Ok(code)
}
Expand Down

0 comments on commit c678a6c

Please sign in to comment.