Fix errors found by linter

This commit is contained in:
freearhey
2023-09-22 06:22:47 +03:00
parent d2318c80d3
commit 35d2d83026
24 changed files with 632 additions and 629 deletions

View File

@@ -14,7 +14,7 @@ export class PlaylistParser {
async parse(files: string[]): Promise<Collection> {
let streams = new Collection()
for (let filepath of files) {
for (const filepath of files) {
const relativeFilepath = filepath.replace(path.normalize(STREAMS_DIR), '')
const _streams: Collection = await this.parseFile(relativeFilepath)
streams = streams.concat(_streams)