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

Return non-zero exit code for unknown mock command #187

Merged
merged 1 commit into from
Aug 14, 2017

Conversation

chris-rock
Copy link
Contributor

If the command was not found, we should return a non-zero exit code. This would be similar to the behavior of the operating system that cannot find a given command

Signed-off-by: Christoph Hartmann chris@lollyrock.com

…This would be similar to the behavior of the operating system that cannot find a given command

Signed-off-by: Christoph Hartmann <chris@lollyrock.com>
Copy link
Contributor

@arlimus arlimus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great catch, thank you!

@arlimus arlimus merged commit 7af38dc into master Aug 14, 2017
@arlimus arlimus deleted the chris-rock/non-zero-mock branch August 14, 2017 11:16
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

Successfully merging this pull request may close these issues.

2 participants