Skip to content

Conversation

@fjtirado
Copy link

Many thanks for submitting your Pull Request ❤️!

What this PR does / why we need it:

Special notes for reviewers:

Additional information (if needed):

@fjtirado fjtirado force-pushed the pr_comments branch 3 times, most recently from 46e9fe1 to 44071a6 Compare November 11, 2025 14:04
Signed-off-by: fjtirado <ftirados@redhat.com>
case ALL ->
modelFactory.fromAny(new ProcessResult(0, stdout.toString().trim(), stderr.get().trim()));
case NONE -> modelFactory.fromNull();
case CODE -> modelFactory.from(0);
Copy link
Author

Choose a reason for hiding this comment

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

Note that exit code, when an exception is not thrown, will be always 0. I need to review if the spec makes sense when handling return values from script

@mcruzdev mcruzdev merged commit 321c79a into mcruzdev:issue-937 Nov 11, 2025
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