Skip to content

Commit

Permalink
refactor(CLI): Modern logs for config tabcompletion install command
Browse files Browse the repository at this point in the history
  • Loading branch information
pgrzesik committed Oct 4, 2021
1 parent 7926570 commit 16a7739
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions lib/plugins/config.js
Expand Up @@ -158,11 +158,11 @@ class Config {
previousOperation.then(() => install(Object.assign({ location }, options))),
BbPromise.resolve()
)
).then(() =>
this.serverless.cli.log(
`Tab autocompletion setup for ${shell}. Make sure to reload your SHELL.`
)
);
).then(() => {
const message = `Tab autocompletion setup for ${shell}. Make sure to reload your SHELL.`;
legacy.log(message);
log.notice.success(message);
});
});
}

Expand Down

0 comments on commit 16a7739

Please sign in to comment.