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 8f43441 commit 11d5c07Copy full SHA for 11d5c07
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