Skip to content

Commit

Permalink
handle vivillonfancy build errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Rezzo64 committed Nov 5, 2023
1 parent a2d6d21 commit a12487c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion build-tools/build-indexes
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
Expand Down

0 comments on commit a12487c

Please sign in to comment.