mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 15:07:42 +02:00
Fix
This commit is contained in:
@@ -101,7 +101,7 @@ module.exports = class JeopardyScrape {
|
||||
const seasons = await this.fetchSeasons();
|
||||
for (const season of seasons) {
|
||||
if (this.seasons.includes(season) && latestSeason !== season) continue;
|
||||
if (!latestSeason === season) this.seasons.push(season);
|
||||
if (latestSeason !== season) this.seasons.push(season);
|
||||
const games = await this.fetchSeason(season);
|
||||
for (const gameID of games) {
|
||||
if (this.gameIDs.includes(gameID)) continue;
|
||||
|
||||
Reference in New Issue
Block a user