stream-to-array
stream-to-array copied to clipboard
Split 'end' and 'error' events
trafficstars
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.
Coverage decreased (-5.3%) to 94.737% when pulling dabed636c0e554addd11b32f8daa2713e250af34 on ryb73:master into 18ee20b27ca3dd29ed48e6c0cddf8252fca29e75 on stream-utils:master.
Coverage decreased (-5.3%) to 94.737% when pulling dabed636c0e554addd11b32f8daa2713e250af34 on ryb73:master into 18ee20b27ca3dd29ed48e6c0cddf8252fca29e75 on stream-utils:master.