From effed86c227bfc49a8ef1ffc3d949b6b7d4b9ff0 Mon Sep 17 00:00:00 2001 From: schneefux Date: Mon, 16 Jul 2018 10:55:22 +0200 Subject: Pretty print reports for better git diffs --- backend/file.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'backend/file.js') diff --git a/backend/file.js b/backend/file.js index c609232..4e54524 100644 --- a/backend/file.js +++ b/backend/file.js @@ -14,7 +14,7 @@ function loadFPayloads(config) { function saveFPayloads(config) { return R.curry((file, data) => - Future.node((cb) => fsPath.writeFile(file, JSON.stringify(data), cb)) + Future.node((cb) => fsPath.writeFile(file, JSON.stringify(data, null, 2), cb)) .map(() => { console.log(`stored ${file}`); return data; }) ); } -- cgit v1.3.1