Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Remove magic number #3
Conversation
|
@jspc fair enough. I like to avoid using CAPS as constant names, and maybe it should exit with |
|
Happy to change it, I wrote it with a cap and underscore because that's the
convention we see in unix usually.
Though, of course, that's usually c or bash.
Commit incoming.
…On Wed, 9 May 2018, 19:51 Mat Ryer, ***@***.***> wrote:
@jspc <https://github.com/jspc> fair enough. I like to avoid using CAPS
as constant names, and maybe it should exit with 1 instead? There is
nothing special, just need a non-zero exit code.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#3 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAxclb2HLMxsb3znxYpGlrNaxVtWkjtmks5twzqngaJpZM4T2mwM>
.
|
Currently this tool throws
exit(2)on error. This doesn't mean anything and is a magic number.Instead this PR defines it as an error.
The choice of
2is out of the scope of this PR.