Browse Source

test: remove unused function args

PR-URL: https://github.com/nodejs/node/pull/14971
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
Reviewed-By: David Cai <davidcai1993@yahoo.com>
Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
canary-base
Mohd Maqbool Alam 8 years ago
committed by James M Snell
parent
commit
9fc58afa6d
  1. 2
      test/async-hooks/test-disable-in-init.js

2
test/async-hooks/test-disable-in-init.js

@ -7,7 +7,7 @@ const fs = require('fs');
let nestedCall = false; let nestedCall = false;
async_hooks.createHook({ async_hooks.createHook({
init: common.mustCall(function(id, type) { init: common.mustCall(function() {
nestedHook.disable(); nestedHook.disable();
if (!nestedCall) { if (!nestedCall) {
nestedCall = true; nestedCall = true;

Loading…
Cancel
Save