We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Currently a CakeException is thrown when a tool has other exit code than zero.
CakeException
Since they are tools around (e.g. RoboCopy) which have different exit codes I suggest to add a list of valid exit codes to the ToolSettings class.
ToolSettings
Or add a custom validation callback (Func<int, bool>) to validate the exit code on client side (similar to postAction) of Tool.Run()
Func<int, bool>
postAction
Tool.Run()
The text was updated successfully, but these errors were encountered:
Fixed by #1031
Sorry, something went wrong.
No branches or pull requests
Currently a
CakeException
is thrown when a tool has other exit code than zero.Since they are tools around (e.g. RoboCopy) which have different exit codes I suggest to add a list of valid exit codes to the
ToolSettings
class.Or add a custom validation callback (
Func<int, bool>
) to validate the exit code on client side (similar topostAction
) ofTool.Run()
The text was updated successfully, but these errors were encountered: