From b8a04bc1a358e8562b3dfc3f69b527079268e175 Mon Sep 17 00:00:00 2001 From: Oj Date: Wed, 16 Mar 2022 10:40:58 +0000 Subject: [PATCH] [Updater > Module] Minor source cleanup --- src/updater/moduleUpdater.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/updater/moduleUpdater.js b/src/updater/moduleUpdater.js index 0ad9608..f3e0f13 100644 --- a/src/updater/moduleUpdater.js +++ b/src/updater/moduleUpdater.js @@ -263,7 +263,7 @@ const downloadModule = async (name, ver) => { if (downloading.done === downloading.total) { const succeeded = downloading.total - downloading.fail; - log('Modules', 'Done downloads', `${succeeded}/${downloading.total} success`); + log('Modules', 'Done downloads', `| ${succeeded}/${downloading.total} success`); events.emit('downloading-modules-finished', { succeeded, @@ -348,11 +348,11 @@ const finishInstall = (name, ver, success) => { }); installing.done++; - log('Modules', 'Finished', `${name}@${ver}`, `(${installing.done}/${installing.total})`); + log('Modules', 'Finished', `${name}@${ver}`); if ((bootstrapping && installing.done === installing.total) || installing.done === downloading.total) { const succeeded = installing.total - installing.fail; - log('Modules', 'Done installs', `${succeeded}/${installing.total} success`); + log('Modules', 'Done installs', `| ${succeeded}/${installing.total} success`); events.emit('installing-modules-finished', { succeeded,