stream-to-array icon indicating copy to clipboard operation
stream-to-array copied to clipboard

Split 'end' and 'error' events

Open ryb73 opened this issue 7 years ago • 3 comments

I was trying to use stream-to-array with a stream that passed a non-error value to the end callback (fast-csv). stream-to-array treated this as an error even though it wasn't one. This should fix the issue while still handling errors.

ryb73 avatar May 24 '17 04:05 ryb73

Coverage Status

Coverage decreased (-5.3%) to 94.737% when pulling dabed636c0e554addd11b32f8daa2713e250af34 on ryb73:master into 18ee20b27ca3dd29ed48e6c0cddf8252fca29e75 on stream-utils:master.

coveralls avatar May 24 '17 04:05 coveralls

Coverage Status

Coverage decreased (-5.3%) to 94.737% when pulling dabed636c0e554addd11b32f8daa2713e250af34 on ryb73:master into 18ee20b27ca3dd29ed48e6c0cddf8252fca29e75 on stream-utils:master.

coveralls avatar May 24 '17 04:05 coveralls

Coverage Status

Coverage remained the same at 100.0% when pulling 9a2378b4b5af63b4e6eab46ee2d07951e2582433 on ryb73:master into 18ee20b27ca3dd29ed48e6c0cddf8252fca29e75 on stream-utils:master.

coveralls avatar May 24 '17 04:05 coveralls