Skip to content

Commit

Permalink
Satisfy PR checks
Browse files Browse the repository at this point in the history
Updates changelog

I didn't make any changes to the functions that the linter was complaining about, so I just made some token comments to make it happy.
  • Loading branch information
parnic committed Apr 22, 2024
1 parent 626219a commit ac96983
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@

### Fixed

* Updated module to display playoff series, if configured to, with the new NHL API.

### Added

### Changed
Expand Down
7 changes: 6 additions & 1 deletion node_helper.js
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,9 @@ module.exports = NodeHelper.create({
* @function getRemainingGameTime
* @description Helper function to retrieve remaining game time.
* @async
*

Check failure on line 180 in node_helper.js

View workflow job for this annotation

GitHub Actions / lint

Trailing spaces not allowed
* @param {string} game - Game info
* @param {string} scores - Scores
*
* @returns {string?} Remaining game time.
*/
Expand All @@ -197,6 +200,8 @@ module.exports = NodeHelper.create({
* @function hydrateRemainingTime
* @description Hydrates remaining time on the games in the schedule from the scores API endpoint.
* @async
*

Check failure on line 203 in node_helper.js

View workflow job for this annotation

GitHub Actions / lint

Trailing spaces not allowed
* @param {string} schedule - Schedule data
*
* @returns {object[]} Raw games from API endpoint including remaining time.
*/
Expand Down Expand Up @@ -528,7 +533,7 @@ module.exports = NodeHelper.create({
if (season.mode === 3 || games.length === 0) {

const playoffData = await this.fetchPlayoffs();
const playoffSeries = this.computePlayoffDetails(playoffData).filter(s => s.roundNumber != playoffData.currentRound);
const playoffSeries = this.computePlayoffDetails(playoffData).filter(s => s.roundNumber !== playoffData.currentRound);

this.sendSocketNotification('PLAYOFFS', playoffSeries);
}
Expand Down

0 comments on commit ac96983

Please sign in to comment.