Skip to content

Commit

Permalink
SCS: Ignore if clinched/eliminated
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenyeargin committed Apr 24, 2024
1 parent 8b26340 commit e4421e7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/hockey.js
Original file line number Diff line number Diff line change
Expand Up @@ -186,8 +186,8 @@ module.exports = (robot) => {
return;
}
const makePlayoffs = history.data[history.data.length - 1];
if (makePlayoffs === 0) {
robot.logger.info('Odds are zero.');
if ((makePlayoffs === 0) && (makePlayoffs === 100)) {
robot.logger.info('No reason to show the odds.');
return;
}

Expand Down

0 comments on commit e4421e7

Please sign in to comment.