From 02eebb4643435341235340f5da8c7db903cb12e6 Mon Sep 17 00:00:00 2001 From: Piotr Grzesik Date: Fri, 1 Oct 2021 13:41:17 +0200 Subject: [PATCH] refactor(CLI): Modern logs for `config tabcompletion uninstall` command --- lib/plugins/config.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/lib/plugins/config.js b/lib/plugins/config.js index 2b5018dbc..52e2413b8 100644 --- a/lib/plugins/config.js +++ b/lib/plugins/config.js @@ -174,9 +174,11 @@ class Config { (previousOperation, options) => previousOperation.then(() => uninstall(options)), BbPromise.resolve() ) - ).then(() => - this.serverless.cli.log('Tab autocompletion uninstalled (for all configured shells).') - ); + ).then(() => { + const message = 'Tab autocompletion uninstalled (for all configured shells).'; + legacy.log(message); + log.notice.success(message); + }); }); } }