We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3191c40 commit 0401495Copy full SHA for 0401495
test/async-hooks/test-disable-in-init.js
@@ -7,7 +7,7 @@ const fs = require('fs');
7
let nestedCall = false;
8
9
async_hooks.createHook({
10
- init: common.mustCall(function(id, type) {
+ init: common.mustCall(function() {
11
nestedHook.disable();
12
if (!nestedCall) {
13
nestedCall = true;
0 commit comments