mirror of
https://github.com/iptv-org/iptv
synced 2026-10-24 03:49:08 -04:00
Fix errors found by linter
This commit is contained in:
1 parent
d2318c80d3
commit
35d2d83026
24 files changed
+632
-629
No files matched your search
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user