Skip to content

Conversation

@rgoldberg
Copy link
Contributor

Simplified CommandSpec#validateSubcommandName(…) by returning ASAP when the correct return value is first known.

It makes it much more understandable.

@remkop remkop added this to the 4.6.3 milestone Jan 3, 2022
@remkop remkop merged commit 4984dd3 into remkop:master Jan 3, 2022
remkop added a commit that referenced this pull request Jan 3, 2022
@remkop
Copy link
Owner

remkop commented Jan 3, 2022

Merged.
Thank you for the contribution!

@rgoldberg rgoldberg deleted the simplify-command-spec-validate-subcommand-name branch January 4, 2022 17:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants