mirror of
https://github.com/yuzu-emu/shared-hugo-scripts.git
synced 2024-12-22 14:35:27 +00:00
Updated gamedb script. Removed reverse. Aligned with citra-web.
This commit is contained in:
parent
c703b70948
commit
03ec0b3e80
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue