Updated gamedb script. Removed reverse. Aligned with citra-web.

This commit is contained in:
chris062689@gmail.com 2018-11-10 19:10:56 -05:00
parent c703b70948
commit 03ec0b3e80

View file

@ -57,13 +57,10 @@ async function run() {
// Set metadata. // Set metadata.
x.date = `${new Date().toISOString()}` 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.compatibility = x.compatibility.toString()
x.testcases.forEach(x => 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 || [] x.issues = x.issues || []
// Copy the boxart for the game. // Copy the boxart for the game.