Closed disrvptor closed 9 years ago
Would it be too much of an imposition to ask for a test here? I totally overlooked the possibility that the combination of request
and fetchAll
would lead to problems, and it seems like this would be something easy for somebody else to overlook in the future. If you don't have time to write a test, I'll write one, but it might take me a little while.
I'll see what I can pull together, but it probably won't be for a couple of days.
Added tests
Landed as cce8f3f37cb617f4cc09d6c2dab06b297e5f1c9e and 697653cf4c399a1aa4a135e0ee5a9e07f1e6fc93, with a few tweaks for style and clarity. Thanks! This will go into the next version of npm.
Check that the
error
property of parsed is not anobject
, which may be a valid value