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

runSh bails out too early when requested to finish with error code. #327

Closed
apogrebnyak opened this issue Dec 29, 2020 · 1 comment · Fixed by #329
Closed

runSh bails out too early when requested to finish with error code. #327

apogrebnyak opened this issue Dec 29, 2020 · 1 comment · Fixed by #329

Comments

@apogrebnyak
Copy link

Real sh step when run with returnStdout:true argument, will still finish with error when script inside sh returns non-0 status.

However, because of this logic

the mocked version of sh bails out too early, and no exception is thrown upon error exit status.

@nre-ableton
Copy link
Contributor

Yes, you're right, this seems to be the correct behavior. Please see #329.

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 a pull request may close this issue.

2 participants