this screwed up RAD folders, undo

This commit is contained in:
Mark Nadal 2019-08-29 14:28:08 -07:00
parent 37d6d47462
commit 1101c06130

View File

@ -19,7 +19,6 @@ Gun.on('opt', function(root){
os.loadavg = os.loadavg || noop;
os.cpus = os.cpus || noop;
setTimeout(function(){
root.opt.file += (process.argv[2]||'');
root.stats = Gun.obj.ify((fs.existsSync(__dirname+'/../stats.'+root.opt.file) && fs.readFileSync(__dirname+'/../stats.'+root.opt.file).toString())) || {};
root.stats.up = root.stats.up || {};
root.stats.up.start = root.stats.up.start || +(new Date);