-
-
Notifications
You must be signed in to change notification settings - Fork 128
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
Allow passing a value to then
of the main Listr instance
#37
Comments
The more I think about it, the less I see what should be passed to |
You're right, the context should be returned as result. We could also easily attach it to the error object |
any chance you could publish a version with this @SamVerschueren? was following the readme and couldn't work out why i was getting |
Thanks for reminding me @sndrs ! I had hoped that I could resolve more issues in the meantime but I'm quite busy lately. Released in |
thanks @SamVerschueren! |
In the following example:
the
res
is alwaysundefined
even then I resolve internal tasks with some value.Or alternatively add
context
to thethen
so it can be accessed.The text was updated successfully, but these errors were encountered: