Commit 22aa7337 authored by nanahira's avatar nanahira

display

parent f309dace
Pipeline #599 passed with stages
in 5 minutes and 42 seconds
...@@ -64,11 +64,12 @@ for (let match of config.matches) { ...@@ -64,11 +64,12 @@ for (let match of config.matches) {
const team1 = _.find(config.teams, t => t.name.toUpperCase() === match.team1.toUpperCase()); const team1 = _.find(config.teams, t => t.name.toUpperCase() === match.team1.toUpperCase());
if (!team1) { if (!team1) {
console.error(`Missing team ${match.team1}`); console.error(`Missing team ${match.team1}`);
continue;
} }
const team2 = _.find(config.teams, t => t.name.toUpperCase() === match.team2.toUpperCase()); const team2 = _.find(config.teams, t => t.name.toUpperCase() === match.team2.toUpperCase());
if (!team2) { if (!team2) {
console.error(`Missing team ${match.team2}`); console.error(`Missing team ${match.team2}`);
}
if (!team1 || !team2) {
continue; continue;
} }
const data = makeMatch(team1, team2); const data = makeMatch(team1, team2);
......
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