Skip to content

Commit

Permalink
fix: format
Browse files Browse the repository at this point in the history
  • Loading branch information
fbritoferreira committed Dec 4, 2022
1 parent e30ae72 commit 5044240
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/parser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ export class M3U8Parser {

const items = groups.reduce((acc: PlaylistItem[], group: string) => {
const playlistItems = this.getPlaylistItems(group);

return [
...acc,
...playlistItems,
Expand Down Expand Up @@ -297,8 +297,8 @@ export class M3U8Parser {
public set updatePlaylist(playlist: Playlist) {
const items = new Map();
let i = 0;
if(playlist.items) {

if (playlist.items) {
playlist.items.forEach((item) => {
items.set(i, PlaylistItemValidator.parse(item));
i++;
Expand Down

0 comments on commit 5044240

Please sign in to comment.