From fee6b416f3a21febf891ff69c372d261bd3fb85e Mon Sep 17 00:00:00 2001 From: freearhey Date: Sun, 3 Nov 2019 20:25:33 +0300 Subject: [PATCH] Update generate.js --- scripts/generate.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/generate.js b/scripts/generate.js index 26902d6a0a..423d74cc3b 100644 --- a/scripts/generate.js +++ b/scripts/generate.js @@ -12,8 +12,8 @@ let list = { function main() { console.log(`Parsing index...`) parseIndex() - console.log('Creating public directory...') - createPublicDirectory() + console.log('Creating root directory...') + createRootDirectory() console.log('Generating index.m3u...') generateIndex() console.log('Generating index.country.m3u...') @@ -35,7 +35,7 @@ function main() { console.log(`Countries: ${Object.values(list.countries).length}. Languages: ${Object.values(list.languages).length}. Categories: ${Object.values(list.categories).length}. Channels: ${list.all.length}.`) } -function createPublicDirectory() { +function createRootDirectory() { helper.createDir(ROOT_DIR) }