Closed DixonDs closed 7 years ago
As far as I've noticed, the exit code is the first element contained in the returned collection.
@SharpeRAD is there any reasoning behind that?
This should probably be changed, it was introduced in #23. A more consistent approach would be to not output the exist code and throw errors.
Happy to accept a PR for the change as there are more than enough votes for it 👍
I'm running into the same behavior, I'm taking a look at this issue.
Fixed in v0.3.5 courtesy of @yanigisawa 👍
Error.ps1:
build.cake:
When you run "error.ps1" directly, it outputs the error to the powershell console. But if you run standard "build.ps1" invoking "build.cake" above, it doesn't output any error and shows the build as successful.