Fix event handler option name

master
Sven Slootweg 3 years ago
parent 0f4a08fcb4
commit 30a518a907

@ -90,7 +90,7 @@ function fromWritable(stream) {
// NOTE: The use of `var` is intentional, to make hoisting possible here; otherwise we'd have a broken cyclical reference
var writable = wireUpWritableInterface(stream, {
onClose: () => {
onEnd: () => {
if (!upstreamHasEnded) {
convertedStream.abort(true);
}

Loading…
Cancel
Save