Skip to content

Commit ad345d0

Browse files
fix(changelog): Add newline to end of package.json
1 parent 1bf5bf8 commit ad345d0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

release.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,13 +48,13 @@ if (versionBump !== 'none') {
4848
console.log(`Bumping version: ${version}`);
4949

5050
packageJson.version = version;
51-
fs.writeFileSync('package.json', JSON.stringify(packageJson, null, 2));
51+
fs.writeFileSync('package.json', JSON.stringify(packageJson, null, 2) + "\n");
5252
modifiedFiles.push('package.json');
5353

5454
if (yargs.argv.bower) {
5555
const bowerJson = fs.readFileSync('bower.json');
5656
bowerJson.version = version;
57-
fs.writeFileSync('bower.json', JSON.stringify(bowerJson, null, 2));
57+
fs.writeFileSync('bower.json', JSON.stringify(bowerJson, null, 2) + "\n");
5858
modifiedFiles.push('bower.json');
5959
}
6060
}

0 commit comments

Comments
 (0)