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 <[email protected]>
Reviewed-By: Yuta Hiroto <[email protected]>
Reviewed-By: David Cai <[email protected]>
Reviewed-By: Daniel Bevenius <[email protected]>
Reviewed-By: James M Snell <[email protected]>
  • Loading branch information
Mohd Maqbool Alam authored and MylesBorins committed Sep 10, 2017
1 parent 6689b74 commit be2c711
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 Diff line number Diff line change
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 be2c711

Please sign in to comment.