diff --git a/dist/plex-meets-homeassistant.js b/dist/plex-meets-homeassistant.js index 4b99c93..1ad15af 100644 --- a/dist/plex-meets-homeassistant.js +++ b/dist/plex-meets-homeassistant.js @@ -19603,6 +19603,7 @@ class PlexMeetsHomeAssistant extends HTMLElement { if (this.data[this.config.libraryName]) { // eslint-disable-next-line consistent-return const searchValues = lodash.split(this.searchValue, ' '); + // eslint-disable-next-line consistent-return lodash.forEach(this.data[this.config.libraryName], (movieData) => { if (!this.maxCount || count < this.maxCount) { count += 1; diff --git a/src/plex-meets-homeassistant.ts b/src/plex-meets-homeassistant.ts index 3ac85db..3e2d135 100644 --- a/src/plex-meets-homeassistant.ts +++ b/src/plex-meets-homeassistant.ts @@ -225,6 +225,7 @@ class PlexMeetsHomeAssistant extends HTMLElement { if (this.data[this.config.libraryName]) { // eslint-disable-next-line consistent-return const searchValues = _.split(this.searchValue, ' '); + // eslint-disable-next-line consistent-return _.forEach(this.data[this.config.libraryName], (movieData: Record) => { if (!this.maxCount || count < this.maxCount) { count += 1;