Skip to content

Commit a0ea1b0

Browse files
committed
fixup
1 parent 1fbd2eb commit a0ea1b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/net.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -435,7 +435,7 @@ function afterShutdown() {
435435
// of the other side sending a FIN. The standard 'write after end'
436436
// is overly vague, and makes it seem like the user's code is to blame.
437437
function writeAfterFIN(chunk, encoding, cb) {
438-
if (!this.writabledEnded) {
438+
if (!this.writableEnded) {
439439
return ReflectApply(
440440
stream.Duplex.prototype.write, this, [chunk, encoding, cb]);
441441
}

0 commit comments

Comments
 (0)