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 877f8a0 commit d5b0ce1Copy full SHA for d5b0ce1
test/async-hooks/test-enable-in-init.js
@@ -10,7 +10,7 @@ const nestedHook = async_hooks.createHook({
10
let nestedCall = false;
11
12
async_hooks.createHook({
13
- init: common.mustCall(function(id, type) {
+ init: common.mustCall(() => {
14
nestedHook.enable();
15
if (!nestedCall) {
16
nestedCall = true;
0 commit comments