Skip to content

Commit a12487c

Browse files
committed
handle vivillonfancy build errors
1 parent a2d6d21 commit a12487c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

build-tools/build-indexes

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1173,7 +1173,9 @@ function buildTeambuilderTables() {
11731173
try {
11741174
overrideDexInfo[id][key] = JSON.parse(modString);
11751175
} catch (e) {
1176-
console.log(modString + " " + id + " " + key + " parsed an invalid value: " + modString);
1176+
// Vivillon-Fancy coded with intentional undefined fields in the source, so we'll escape it
1177+
if (id === 'vivillonfancy') continue;
1178+
console.log(gen + " " + id + " " + key + " parsed an invalid value: " + modString);
11771179
continue;
11781180
}
11791181
}

0 commit comments

Comments
 (0)