Permalink
Browse files

test: remove unused function args

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...
m13m authored and MylesBorins committed Aug 22, 2017
1 parent 83ba2aa commit d4c2eba3761f284bbf2929bef50074ce0a045261
Showing with 1 addition and 1 deletion.
  1. +1 −1 test/async-hooks/test-disable-in-init.js
@@ -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;

0 comments on commit d4c2eba

Please sign in to comment.