Closed punmechanic closed 9 years ago
I had no issue running this example in iojs 2.2. I have still replaced yield*
with yield
. I am not sure about my initial reason for using yield*
, but I don't see a reason for using it, now.
Thanks for reporting!
Hi,
Throwing together a quick sample of this application -
The call to
yield* passport.authenticate
throws an exception -altering this
yield*
call to a simpleyield
allows the application to work as intended.This code is running on iojs v1.8.1, with latest versions of koa-passport, koa-router, koa and passport-local as of writing.
I'm only mentioning this because the sample application in this repo uses
yield*
as opposed toyield
.