Skip to content

Commit 757f3bf

Browse files
authored
Update lib/internal/http2/core.js
1 parent 6654c29 commit 757f3bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/internal/http2/core.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -2174,7 +2174,7 @@ class Http2Stream extends Duplex {
21742174
process.nextTick(() => {
21752175
if (writeCallbackErr ||
21762176
!this._writableState.ending ||
2177-
this._writableState.buffered?.length ||
2177+
this._writableState.buffered.length ||
21782178
(this[kState].flags & STREAM_FLAGS_HAS_TRAILERS))
21792179
return endCheckCallback();
21802180
debugStreamObj(this, 'shutting down writable on last write');

0 commit comments

Comments
 (0)