We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3e09cc7 commit 88de54dCopy full SHA for 88de54d
1 file changed
src/manifest/mod.rs
@@ -649,7 +649,7 @@ impl CrateData {
649
Target::Deno => return Ok(()),
650
};
651
652
- let npm_json = serde_json::to_string_pretty(&npm_data)?;
+ let npm_json = format!("{}\n", serde_json::to_string_pretty(&npm_data)?);
653
654
fs::write(&pkg_file_path, npm_json)
655
.with_context(|| anyhow!("failed to write: {}", pkg_file_path.display()))?;
0 commit comments