Skip to content

Commit

Permalink
Include trailing newline when serializing package.json (vercel#2558)
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanhammond authored Nov 2, 2022
1 parent 05326d1 commit e8867dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/turbo/bump-version.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ pkg.optionalDependencies = Object.fromEntries(
.map((x) => [x, pkg.version])
);

fs.writeFileSync(file, JSON.stringify(pkg, null, 2));
fs.writeFileSync(file, JSON.stringify(pkg, null, 2) + "\n");

0 comments on commit e8867dc

Please sign in to comment.