Skip to content

Commit

Permalink
fix: make lint test pass
Browse files Browse the repository at this point in the history
  • Loading branch information
Hoverth committed Sep 30, 2024
1 parent 0613bbf commit 8930710
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/renderer/helpers/playlists.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export function getSortedPlaylistItems(playlistItems, sortOrder, locale, reverse

export function videoDurationPresent(v) {
if (typeof v.lengthSeconds !== 'number') { return false }

return !(isNaN(v.lengthSeconds) || v.lengthSeconds === 0)
}

Expand Down

0 comments on commit 8930710

Please sign in to comment.