Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Removing unused function arguments, and converting it to ES6 arrow sy…
…ntax in test/async-hooks/test-enable-in-init.js
  • Loading branch information
Mitch Hankins committed Dec 12, 2018
commit 10c5b0ce1b917ddeab98291fcd0e615c1993ccd8
2 changes: 1 addition & 1 deletion test/async-hooks/test-enable-in-init.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const nestedHook = async_hooks.createHook({
let nestedCall = false;

async_hooks.createHook({
init: common.mustCall(function(id, type) {
init: common.mustCall(() => {
nestedHook.enable();
if (!nestedCall) {
nestedCall = true;
Expand Down