From d90c55861f62620eba7a5712ea228fb7f16ed855 Mon Sep 17 00:00:00 2001 From: otofune Date: Sun, 28 May 2017 04:25:06 +0900 Subject: [PATCH] [travis] shapeup script will indent package.json with tabs original package.json indented with tabs, but shapeup indent with 4 space. --- .travis/shapeup.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis/shapeup.js b/.travis/shapeup.js index 8fb69cce9..9a5d85a18 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) }) })