Debug Flags

master
Cristiano Pires 2 years ago
parent 973add64dd
commit 29769f93b3

@ -666,7 +666,11 @@ class rustCommits
data.results.splice(30, 20);
return data.results.filter(x=>x.repo.search(/rust/i)!=-1)
}
if(!Res.length)
{
console.log('Framework: Rustcommits: Res', Res);
return this.update();
}
for(var j = 0; j<this.channels.length; j++)
{
if(!this.channels[j].lastid) this.channels[j].lastid = 0;
@ -796,13 +800,13 @@ class FreeGames
data.splice(10, data.length-10);
return data
}
if(!Res.length) console.log('FrameWork -> FreeGames: Res:',Res);
if(!Res.length) return setTimeout(() =>
{
update();
}, 60*1000);
for(var j = 0; j<this.channels.length; j++)
{
console.log('FrameWork -> FreeGames: Res:',Res);
const Pos = Res.map(e => e.id).indexOf(this.channels[j].lastid);
Res.splice(Pos, Res.length-Pos)

Loading…
Cancel
Save