Commit e6ce43fadfd737b2a52d0225424c5eb186e6e6b3
write summary to a file
Dominic Tarr committed on 9/24/2018, 8:38:55 AMParent: bb0b78e35453aa2f936f01fe4b2cf30c15f55b53
Files changed
db.js | changed |
db.js | |||
---|---|---|---|
@@ -116,8 +116,9 @@ | |||
116 | 116 … | }), | |
117 | 117 … | pull.filter(), | |
118 | 118 … | pull.reduce(reduce, {}, function (err, data) { | |
119 | 119 … | if(!err) summary_data = data | |
120 … | + require('fs').writeFileSync('./summary.json', JSON.stringify(data, null, 2)) | ||
120 | 121 … | while(waiting.length) | |
121 | 122 … | waiting.shift()(err, data) | |
122 | 123 … | }) | |
123 | 124 … | ) |
Built with git-ssb-web