Commit 7fd6abfa authored by nanahira's avatar nanahira

display

parent 22aa7337
Pipeline #600 passed with stages
in 5 minutes and 53 seconds
......@@ -63,11 +63,11 @@ function makeMatch(team1: Team, team2: Team): RenderData {
for (let match of config.matches) {
const team1 = _.find(config.teams, t => t.name.toUpperCase() === match.team1.toUpperCase());
if (!team1) {
console.error(`Missing team ${match.team1}`);
console.error(`Missing team ${match.team1}.`);
}
const team2 = _.find(config.teams, t => t.name.toUpperCase() === match.team2.toUpperCase());
if (!team2) {
console.error(`Missing team ${match.team2}`);
console.error(`Missing team ${match.team2}.`);
}
if (!team1 || !team2) {
continue;
......
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