enefel 1.0.101 → 1.0.102

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/league.js +1 -1
  2. package/package.json +1 -1
package/league.js CHANGED
@@ -120,7 +120,7 @@ const calculateTeamsStandingForNextSeason = (division) => {
120
120
  .reduce((p, c) => [...p, ...c.teams], [])
121
121
  .filter((t) => t && canPlayLeague(t));
122
122
 
123
- if (HAS_NEXT_SEASON_PLAYOFF && GROUP_SIZE * 3 >= flatTeams.length) {
123
+ if (HAS_NEXT_SEASON_PLAYOFF && GROUP_SIZE * 3 < flatTeams.length) {
124
124
  return calculateTeamsStandingForPlayoff(flatTeams, division);
125
125
  }
126
126
  return calculateTeamsStandingForLeagues(newStandings, division);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "enefel",
3
- "version": "1.0.101",
3
+ "version": "1.0.102",
4
4
  "main": "index.js",
5
5
  "author": "Manest",
6
6
  "license": "MIT",