-
-
Notifications
You must be signed in to change notification settings - Fork 16
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
refactor(logging): replace error! by info! in the actions of format and remove #143
refactor(logging): replace error! by info! in the actions of format and remove #143
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.
We exit with non-zero code, so IMO use error
doesn't hurt.
If we think of it's intended by users, info
is more proper.
@YuanYuYuan The workflow fails because we exit with You can run the It also helps to ensure that you only commit if any file gets changed. |
I tend to keep the current code as is then. |
Yes. Similarly, we used
|
@YuanYuYuan Make sense. Let me update the exit code part and release a v6.0. I'll ping you as a reviewer when a patch is ready. |
Many thanks! 😃 |
Hi there! I found that a log containing errors can stop the Github action. However, the actions format and remove should not be treated as errors since they're intended by the users.