diff --git a/scripts/games/app.js b/scripts/games/app.js index 0101993..f053acb 100644 --- a/scripts/games/app.js +++ b/scripts/games/app.js @@ -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`);