Skip to content

Commit

Permalink
chore(decdk): deps.js adds newline in package.json (#4012)
Browse files Browse the repository at this point in the history
since lerna rewrites package.json with a newline,
we want to avoid unwanted diffs.
  • Loading branch information
Elad Ben-Israel authored and mergify[bot] committed Sep 10, 2019
1 parent c4054ce commit d08130b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/decdk/deps.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ for (const dir of modules) {
deps[meta.name] = requirement;
}

fs.writeFileSync(path.join(__dirname, 'package.json'), JSON.stringify(pkg, undefined, 2));
fs.writeFileSync(path.join(__dirname, 'package.json'), JSON.stringify(pkg, undefined, 2) + '\n');

if (errors) {
console.error('errors found. updated package.json');
Expand Down

0 comments on commit d08130b

Please sign in to comment.