Closed RobbieMcKinstry closed 7 years ago
The change was a single line, and it seems to work for me. I'll probably just PR anyway and you can close it if you don't like it.
That sounds reasonable. Sure. Let me take a look at that PR.
Merged the PR. Updated for side effects. Thanks again!
@adnaan Sorry, I should have included these changed before I PR'd.
Thanks for the merge, friend!
Hi! Thanks for Pipeline! I mentioned on your reddit post that this is definitely something I intend to use!
I'm trying to test a
Step
I implemented. I wrote the step, which simply shells out to the console and stores the stdout into theResult.Data
field. My problem is that this isn't testable because after running the pipeline, a nil*Result
is returned on success.I propose
pipeline.Run()
always return a*Result
on both success and failure. Simply return the*Result
from the finalStage
.I'm going to fork this repo and implement the change for my own purposes. Let me know if you like the proposal and want me to PR back upstream. :)
Have a great day!