mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-08-24 16:02:55 +02:00
Prettier JSON output
This commit is contained in:
@@ -210,7 +210,7 @@ function exists(filepath) {
|
||||
|
||||
function save(results, path) {
|
||||
path = resolve(process.cwd(), path)
|
||||
fs.writeFileSync(path, JSON.stringify(results))
|
||||
fs.writeFileSync(path, JSON.stringify(results, null, 2))
|
||||
}
|
||||
|
||||
function serializeResult(event) {
|
||||
|
Reference in New Issue
Block a user