We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ed9e709 commit 7ebc47bCopy full SHA for 7ebc47b
lib/internal/streams/end-of-stream.js
@@ -57,9 +57,9 @@ const nop = () => {};
57
function bindAsyncResource(fn, type) {
58
AsyncResource ??= require('async_hooks').AsyncResource;
59
const resource = new AsyncResource(type);
60
- return function (...args) {
+ return function(...args) {
61
return resource.runInAsyncScope(fn, this, ...args);
62
- }
+ };
63
}
64
65
function eos(stream, options, callback) {
0 commit comments