-
Notifications
You must be signed in to change notification settings - Fork 1k
cli: introduce semantic exit code constants for rustup check #4700
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
Conversation
|
Hi @rami3l @ChrisDenton — quick check: is this the right approach, or should exit codes be handled differently? Also, do we want to replace all exit codes with named constants, or only the ones in the update/no-update path? Any advice would be appreciated. |
|
Yes, it should change all exit codes to use constants. |
rami3l
left a comment
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.
LGTM modulo #4700 (comment), many thanks!
PS: Please squash all commits into one when you are done so that we can merge it.
rami3l
left a comment
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.
LGTM modulo #4700 (comment), many thanks!
PS: Please squash all commits into one when you are done so that we can merge it.
49af512 to
1394af8
Compare
rami3l
left a comment
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.
Just change the commit message to be the same as the PR title please? "wip" is not very descriptive :]
wip complete add const name for exit_code change const type to ExitCode change const type to ExitCode change to Self adding const name for exit_code
1394af8 to
2f2e97a
Compare
continuation to #4694