Skip to content

Commit

Permalink
codecov make non-pretty string
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewgazelka committed Mar 31, 2023
1 parent b476567 commit ee24a6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -880,7 +880,7 @@ impl Format {
let cov = cmd.read()?;
let cov: LlvmCovJsonExport = serde_json::from_str(&cov)?;
let cov = CodeCovJsonExport::from(cov);
let out = serde_json::to_string_pretty(&cov)?;
let out = serde_json::to_string(&cov)?;

if let Some(output_path) = &cx.args.cov.output_path {
fs::write(output_path, out)?;
Expand Down

0 comments on commit ee24a6e

Please sign in to comment.