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

Shell command fail exit codes are not tool failures #329

Closed

Conversation

jsibbison-square
Copy link
Collaborator

@jsibbison-square jsibbison-square commented Nov 25, 2024

Previously when bash tool had a failure exit status we said the tool succeeded but prefixed the output that there was an error. In the rust version we currently say the tool failed instead. This PR changes the output otherwise it prints 'Tool request failed:' in the ui just because cargo build etc failed which is 'normal operations'.

New output (note the info inside ``` is still presented, just false doesn't put anything to stdout):
image

Old output:
image

Copy link
Collaborator

@michaelneale michaelneale left a comment

Choose a reason for hiding this comment

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

yeah - I agree with that.

@baxen
Copy link
Collaborator

baxen commented Nov 25, 2024

This conflicts with an outstanding change but will get this into a similar PR!

@baxen baxen closed this Nov 25, 2024
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.

3 participants