refactor(CLI): Modern logs for config tabcompletion uninstall command

This commit is contained in:
Piotr Grzesik 2021-10-01 13:41:17 +02:00
parent 16a7739411
commit 02eebb4643

View File

@ -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);
});
});
}
}