git ssb

0+

Dominic / weather



Commit e6ce43fadfd737b2a52d0225424c5eb186e6e6b3

write summary to a file

Dominic Tarr committed on 9/24/2018, 8:38:55 AM
Parent: bb0b78e35453aa2f936f01fe4b2cf30c15f55b53

Files changed

db.jschanged
db.jsView
@@ -116,8 +116,9 @@
116116 }),
117117 pull.filter(),
118118 pull.reduce(reduce, {}, function (err, data) {
119119 if(!err) summary_data = data
120 + require('fs').writeFileSync('./summary.json', JSON.stringify(data, null, 2))
120121 while(waiting.length)
121122 waiting.shift()(err, data)
122123 })
123124 )

Built with git-ssb-web