Compare commits
1 commit
0799177099
...
c97e90b3ac
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c97e90b3ac |
1 changed files with 1 additions and 0 deletions
|
|
@ -86,6 +86,7 @@ export class MlbStandingsAdapter implements StandingsSyncAdapter {
|
|||
const withSm = flattened.map(({ entry, conference, division }) => {
|
||||
const resolvedDivision = division || MLB_TEAM_DIVISION[entry.team.displayName] || "";
|
||||
if (!resolvedDivision) {
|
||||
// eslint-disable-next-line no-console
|
||||
console.warn(
|
||||
`[MLB standings] No division found for team "${entry.team.displayName}" (id=${entry.team.id}). ` +
|
||||
"Update MLB_TEAM_DIVISION if this is a renamed or expansion team."
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue