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>
This commit is contained in:
parent
be4c984747
commit
9fc58afa6d
@ -7,7 +7,7 @@ const fs = require('fs');
|
||||
let nestedCall = false;
|
||||
|
||||
async_hooks.createHook({
|
||||
init: common.mustCall(function(id, type) {
|
||||
init: common.mustCall(function() {
|
||||
nestedHook.disable();
|
||||
if (!nestedCall) {
|
||||
nestedCall = true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user