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

Loading…
Cancel
Save