Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
piotmag769 committed Jul 9, 2024
1 parent 726738d commit 340d4f7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion extensions/scarb-doc/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,8 @@ fn main_inner() -> Result<()> {
OutputFormat::Json => {
let versioned_json_output = VersionedJsonOutput::new(package_information_map);
let output = serde_json::to_string_pretty(&versioned_json_output)
.expect("failed to serialize information about crates");
.expect("failed to serialize information about crates")
+ "\n";
let output_path = output_dir.join("output.json");

fs::write(output_path, output)
Expand Down
2 changes: 1 addition & 1 deletion extensions/scarb-doc/tests/data/json_output_test_data.json
Original file line number Diff line number Diff line change
Expand Up @@ -278,4 +278,4 @@
}
}
}
}
}

0 comments on commit 340d4f7

Please sign in to comment.