From c4a9badb73559b8d1fa23b5b729d07aa358d7a33 Mon Sep 17 00:00:00 2001 From: Soreine Date: Tue, 25 Oct 2016 11:19:54 +0200 Subject: [PATCH] Prettier JSON output --- perf/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/perf/index.js b/perf/index.js index 470deaeff..2b8c4d369 100644 --- a/perf/index.js +++ b/perf/index.js @@ -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) {