Commit 13a36cf3 authored by nanahira's avatar nanahira

fix

parent 15108e61
Pipeline #2295 passed with stages
in 26 seconds
......@@ -116,7 +116,7 @@ async function main() {
config = await loadConfig();
console.log(`Reading old tournament ${config.sourceTournament}.`);
await loadOldTournamentData();
for (let round = 1; round < config.maxRounds; ++round) {
for (let round = 1; round <= config.maxRounds; ++round) {
console.log(`Handling round ${round}.`);
await loadNewTournamentData();
const matches = newMatches.filter(m => m.round === round && m.state === "open");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment