diff options
Diffstat (limited to 'backend/file.js')
| -rw-r--r-- | backend/file.js | 2 |
1 files changed, 1 insertions, 1 deletions
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; }) ); } |
