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 jasnell committed Aug 24, 2017
1 parent be4c984 commit 9fc58af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/async-hooks/test-disable-in-init.js
Expand Up @@ -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;
Expand Down

0 comments on commit 9fc58af

Please sign in to comment.