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

bin/heroics-generate returns success status code even when it fails to generate a client #99

Open
schneems opened this issue Aug 27, 2020 · 0 comments

Comments

@schneems
Copy link
Collaborator

I see that the command still reports as successful even when it's not:

$ bin/heroics-generate -h "Content-Type: application/json"
Usage: heroics-generate module_name schema_filepath url
       heroics-generate configuration-file-path.rb
# Params only allowed when using the first form:
    -h, --help                       Display this screen
    -H, --header [HEADER]            Include header with all requests
    -c, --cache-dir [PATH]           Content cache directory (~ is automatically expanded)
$ echo $?
0

This exit code should be non-zero.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant