Skip to content

Commit

Permalink
test: remove unused function args
Browse files Browse the repository at this point in the history
PR-URL: #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>
  • Loading branch information
Mohd Maqbool Alam authored and MylesBorins committed Sep 12, 2017
1 parent 83ba2aa commit d4c2eba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/async-hooks/test-disable-in-init.js
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit d4c2eba

Please sign in to comment.