diff --git a/src/runtime/node/stream/writable.ts b/src/runtime/node/stream/writable.ts index d5d7a76f..a1dd5949 100644 --- a/src/runtime/node/stream/writable.ts +++ b/src/runtime/node/stream/writable.ts @@ -78,8 +78,8 @@ class _Writable extends EventEmitter implements stream.Writable { typeof arg2 === "function" ? arg2 : typeof arg3 === "function" - ? arg3 - : undefined; + ? arg3 + : undefined; this._write(chunk, encoding, cb); return true; } @@ -93,10 +93,10 @@ class _Writable extends EventEmitter implements stream.Writable { typeof arg1 === "function" ? arg1 : typeof arg2 === "function" - ? arg2 - : typeof arg3 === "function" - ? arg3 - : undefined; + ? arg2 + : typeof arg3 === "function" + ? arg3 + : undefined; if (this.writableEnded) { if (callback) { callback();