diff --git a/scripts/format.js b/scripts/format.js index 7856d92b9..f9bdea1f5 100644 --- a/scripts/format.js +++ b/scripts/format.js @@ -27,6 +27,9 @@ const instance = axios.create({ }) async function main() { + console.info('Starting...') + console.time('Done in') + const playlists = parseIndex() for (const playlist of playlists) { @@ -42,7 +45,7 @@ async function main() { } function parseIndex() { - console.info(`Parsing 'index.m3u'...`) + console.info(`\nParsing 'index.m3u'...`) let playlists = parser.parseIndex() playlists = utils .filterPlaylists(playlists, config.country, config.exclude) @@ -142,7 +145,7 @@ async function done() { } function finish() { - console.info('Done.') + console.timeEnd('Done in') } main()