Closed ehuelsmann closed 5 years ago
If that's appreciated, I could submit a PR where collect()
returns a resolved promise when called without arguments.
[PRs welcome] Absolutely!
thanks for the fix! I couldn't have solved it more elegantly!
New release should be out in a matter of hours!
While I do understand this isn't the intended use-case, this code triggered the above condition for me:
Where each
validate()
method returns a promise, but@resources
was empty. I'm not interested in the values to which the promises resolve; basically, they're only used to wait for all actions to be completed before going to the final step.