From 724f56f20b91e895c47d8fc4c92b867aa610b48f Mon Sep 17 00:00:00 2001 From: Boaz Poolman Date: Wed, 29 Dec 2021 00:05:01 +0100 Subject: [PATCH] feat: Finalize CLI logging --- server/cli.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/cli.js b/server/cli.js index e8f8222..cc1d4c1 100644 --- a/server/cli.js +++ b/server/cli.js @@ -125,7 +125,7 @@ const handleAction = async (syncType, skipConfirm, configType, partials) => { // Preform the action. if (skipConfirm || answer.confirm) { if (syncType === 'import') { - const onSuccess = (name) => console.log(`${chalk.cyan.bold('[notice]')} Imported ${name} (${getConfigState(diff, name, syncType)})`); + const onSuccess = (name) => console.log(`${chalk.cyan.bold('[notice]')} Imported ${name}`); try { await Promise.all(Object.keys(finalDiff).map(async (name) => { let warning; @@ -143,7 +143,7 @@ const handleAction = async (syncType, skipConfirm, configType, partials) => { } } if (syncType === 'export') { - const onSuccess = (name) => console.log(`${chalk.cyan.bold('[notice]')} Exported ${name} (${getConfigState(diff, name, syncType)})`); + const onSuccess = (name) => console.log(`${chalk.cyan.bold('[notice]')} Exported ${name}`); try { await Promise.all(Object.keys(finalDiff).map(async (name) => {