Skip to content

Commit 8e5b4a2

Browse files
committed
added check if no-async-context-frame is enabled or not
1 parent 48db583 commit 8e5b4a2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/internal/streams/end-of-stream.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ const {
4444
kIsClosedPromise,
4545
} = require('internal/streams/utils');
4646

47+
const { getHookArrays } = require('internal/async_hooks');
4748
const AsyncContextFrame = require('internal/async_context_frame');
4849

4950
// Lazy load

0 commit comments

Comments
 (0)