From 03ec0b3e80312dd4878805917a865ad5e23e310e Mon Sep 17 00:00:00 2001 From: "chris062689@gmail.com" Date: Sat, 10 Nov 2018 19:10:56 -0500 Subject: [PATCH] Updated gamedb script. Removed reverse. Aligned with citra-web. --- compatdb/app.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/compatdb/app.js b/compatdb/app.js index 4501ee2..26cd183 100644 --- a/compatdb/app.js +++ b/compatdb/app.js @@ -57,13 +57,10 @@ async function run() { // Set metadata. x.date = `${new Date().toISOString()}` - // In Hugo, data keys need to be strings. + // Hugo requires compatibility to be a string to link to data JSON. x.compatibility = x.compatibility.toString() - x.testcases.forEach(x => x.compatibility = x.compatibility.toString()) - // Reverse the testcases so the most recent ones show up top. - x.testcases = x.testcases.reverse() x.issues = x.issues || [] // Copy the boxart for the game.