From 334615989ea65a18fdfbaf97eaa39b369819b77c Mon Sep 17 00:00:00 2001 From: freearhey Date: Fri, 7 May 2021 12:51:57 +0300 Subject: [PATCH] Update format.js --- scripts/format.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/scripts/format.js b/scripts/format.js index 7856d92b9d..f9bdea1f5f 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()