diff options
| author | schneefux <schneefux+commit@schneefux.xyz> | 2018-07-16 10:55:22 +0200 |
|---|---|---|
| committer | schneefux <schneefux+commit@schneefux.xyz> | 2018-12-13 17:09:29 +0100 |
| commit | effed86c227bfc49a8ef1ffc3d949b6b7d4b9ff0 (patch) | |
| tree | 9e3a84d88d5d06f951d45641271757b153fc1c98 /backend/file.js | |
| parent | 51e142f45f3eb546e8deaaad6fe457cdf7f936cd (diff) | |
| download | brokentalents-effed86c227bfc49a8ef1ffc3d949b6b7d4b9ff0.tar.gz brokentalents-effed86c227bfc49a8ef1ffc3d949b6b7d4b9ff0.zip | |
Pretty print reports for better git diffs
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; }) ); } |
