ensure package.json files have a newline
This commit is contained in:
parent
66440a92ae
commit
950f4b2aea
@ -114,7 +114,7 @@ function publish() {
|
||||
updateDepsObject(changedPackages, pkg.devDependencies);
|
||||
|
||||
// write new package
|
||||
fs.writeFileSync(pkgLoc, JSON.stringify(pkg, null, " "));
|
||||
fs.writeFileSync(pkgLoc, JSON.stringify(pkg, null, " ") + "\n");
|
||||
|
||||
// push to be git committed
|
||||
changedFiles.push(pkgLoc);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user