From 676b87900900f6c620df3389e315d65bb065873f Mon Sep 17 00:00:00 2001 From: Labhansh Agrawal Date: Thu, 2 Sep 2021 16:32:35 +0530 Subject: [PATCH] Use console.error instead of console.log in cli/index.ts For consistency #5911 --- cli/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/index.ts b/cli/index.ts index 9e4091e3..fe6c4637 100644 --- a/cli/index.ts +++ b/cli/index.ts @@ -73,7 +73,7 @@ args.command( commandPromise = api .uninstall(pluginName) .then(() => console.log(chalk.green(`${pluginName} uninstalled successfully!`))) - .catch((err) => console.log(chalk.red(err))); + .catch((err) => console.error(chalk.red(err))); }, ['u', 'rm', 'remove'] );