Use console.error instead of console.log in cli/index.ts

For consistency  #5911
This commit is contained in:
Labhansh Agrawal 2021-09-02 16:32:35 +05:30 committed by GitHub
parent 7f01b06456
commit 676b879009
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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']
);