mirror of
https://github.com/misskey-dev/misskey
synced 2024-11-24 15:16:30 +09:00
[travis] shapeup script will indent package.json with tabs
original package.json indented with tabs, but shapeup indent with 4 space.
This commit is contained in:
parent
dd7bf7c1c1
commit
8d5adfbdd7
@ -7,7 +7,7 @@ fs.readFile(filename, (err, data) => {
|
|||||||
if (err) process.exit(2)
|
if (err) process.exit(2)
|
||||||
const object = JSON.parse(data)
|
const object = JSON.parse(data)
|
||||||
delete object.devDependencies
|
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)
|
if (err) process.exit(3)
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user