From a12487c1286545d7432942a9c71e2eb1954f7ab9 Mon Sep 17 00:00:00 2001 From: Rezzo Date: Sun, 5 Nov 2023 20:38:55 +0000 Subject: [PATCH] handle vivillonfancy build errors --- build-tools/build-indexes | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/build-tools/build-indexes b/build-tools/build-indexes index 41c507401..901bb4f27 100755 --- a/build-tools/build-indexes +++ b/build-tools/build-indexes @@ -1173,7 +1173,9 @@ function buildTeambuilderTables() { try { overrideDexInfo[id][key] = JSON.parse(modString); } catch (e) { - console.log(modString + " " + id + " " + key + " parsed an invalid value: " + modString); + // Vivillon-Fancy coded with intentional undefined fields in the source, so we'll escape it + if (id === 'vivillonfancy') continue; + console.log(gen + " " + id + " " + key + " parsed an invalid value: " + modString); continue; } }