Skip to content
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

[Fug / Improvement] Please Improve error message on invalid passed reckon.scope #57

Closed
childnode opened this issue Nov 13, 2017 · 2 comments
Milestone

Comments

@childnode
Copy link

since -Preckon.stage=sdf provides a helpful hint

* What went wrong:
> Stage "sdf" is not one of: [rc, final]

-Preckon.scope=sdf only provides message

> No enum constant org.ajoberstar.reckon.core.Scope.SDF

instead of expected

> Scope "sdf" is not one of: [patch, minor, major]
@childnode
Copy link
Author

String message = String.format("Stage \"%s\" is not one of: %s", stage, stages);

@ajoberstar
Copy link
Owner

Agreed. Thanks for pointing this out!

@ajoberstar ajoberstar added this to the 0.3.0 milestone Nov 15, 2017
@ajoberstar ajoberstar modified the milestones: 0.3.0, 0.4.0 Dec 13, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants