diff options
author | Samy Pesse <samypesse@gmail.com> | 2016-12-04 19:46:54 +0100 |
---|---|---|
committer | Samy Pesse <samypesse@gmail.com> | 2016-12-04 19:46:54 +0100 |
commit | 7d05f8cb89790dc5d30442ce8d6dbd6c7d2edeba (patch) | |
tree | 330a1992aebcbfb2a3ae1ef29da587dd776b70c4 /scripts | |
parent | 9d3c397446653addb3a78c68bbfe56470e92bf33 (diff) | |
download | gitbook-7d05f8cb89790dc5d30442ce8d6dbd6c7d2edeba.zip gitbook-7d05f8cb89790dc5d30442ce8d6dbd6c7d2edeba.tar.gz gitbook-7d05f8cb89790dc5d30442ce8d6dbd6c7d2edeba.tar.bz2 |
Update ied@2.3.6 and ad trailing newline in package.json
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/bump.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/bump.js b/scripts/bump.js index 0a29dba..2a4d592 100755 --- a/scripts/bump.js +++ b/scripts/bump.js @@ -36,5 +36,7 @@ packages.forEach((name) => { updateDependencies(pkg.dependencies); updateDependencies(pkg.devDependencies); - fs.writeFileSync(pkgPath, JSON.stringify(pkg, null, 2), 'utf-8'); + const json = JSON.stringify(pkg, null, 2); + + fs.writeFileSync(pkgPath, `${json}\n`, 'utf-8'); }); |