summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorotofune <otofune@gmail.com>2017-05-28 04:25:06 +0900
committerotofune <otofune@gmail.com>2017-05-28 04:25:49 +0900
commit8d5adfbdd77b925fd2b8d0761c2d2b1b84e7bf3d (patch)
tree3ec83fd91f0337977613ef67ba052918bcdf4d96
parent[travis] shapeup package.json in release (diff)
downloadsharkey-8d5adfbdd77b925fd2b8d0761c2d2b1b84e7bf3d.tar.gz
sharkey-8d5adfbdd77b925fd2b8d0761c2d2b1b84e7bf3d.tar.bz2
sharkey-8d5adfbdd77b925fd2b8d0761c2d2b1b84e7bf3d.zip
[travis] shapeup script will indent package.json with tabs
original package.json indented with tabs, but shapeup indent with 4 space.
-rw-r--r--.travis/shapeup.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/.travis/shapeup.js b/.travis/shapeup.js
index 8fb69cce9a..9a5d85a188 100644
--- a/.travis/shapeup.js
+++ b/.travis/shapeup.js
@@ -7,7 +7,7 @@ fs.readFile(filename, (err, data) => {
if (err) process.exit(2)
const object = JSON.parse(data)
delete object.devDependencies
- fs.writeFile(filename, JSON.stringify(object, null, 4) + '\n', err => {
+ fs.writeFile(filename, JSON.stringify(object, null, '\t') + '\n', err => {
if (err) process.exit(3)
})
})