mirror of
https://github.com/iptv-org/iptv.git
synced 2025-05-13 10:30:03 -04:00
Update file.js
This commit is contained in:
parent
1b2fbcce3a
commit
da29bd114e
1 changed files with 0 additions and 1 deletions
|
@ -9,7 +9,6 @@ const file = {}
|
|||
file.list = function (include = [], exclude = []) {
|
||||
return new Promise(resolve => {
|
||||
glob('channels/*.m3u', function (err, files) {
|
||||
console.log(include, exclude)
|
||||
if (include.length) {
|
||||
include = include.map(filename => `channels/${filename}.m3u`)
|
||||
files = files.filter(filename => include.includes(filename))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue