Filter issues-- only return open issues.

This commit is contained in:
chris062689 2018-07-29 19:27:12 -04:00
parent de1e79e2b6
commit 426a89cfb2

View File

@ -64,7 +64,7 @@ async function run() {
// Reverse the testcases so the most recent ones show up top.
x.testcases = x.testcases.reverse()
x.issues = x.issues || []
x.issues = x.issues.filter(x => x.state === 'open') || []
// Copy the boxart for the game.
fs.copySync(`${fsPathCode}/${x.id}/boxart.png`, `${fsPathHugoBoxart}/${x.id}.png`);