-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore(cli): print new component version available message #1530
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
simple lol
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are we going to print this message on EVERY execution? If so, this is a no-no, it will be too invasive for the customer.
We need to do this message only once a day. Just like our daily version check. And if it is possible, I would recommend printing this message at the end of the command execution, not at the beginning, otherwise it gets lost.
89a94a8
to
5aa9049
Compare
Updated to only print at the end, once a day, leveraging the existing function. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Much better, still I wish we could write some tests. Not a blocker, for now.
Summary
dailyComponentUpdateAvailable
to check if the component version was checked 1 day ago.How did you test this change?
Issue