Skip to content

Commit

Permalink
refactor(CLI): Modern logs for config tabcompletion uninstall command
Browse files Browse the repository at this point in the history
  • Loading branch information
pgrzesik committed Oct 4, 2021
1 parent 16a7739 commit 02eebb4
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions lib/plugins/config.js
Expand Up @@ -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);
});
});
}
}
Expand Down

0 comments on commit 02eebb4

Please sign in to comment.