From 10c5b0ce1b917ddeab98291fcd0e615c1993ccd8 Mon Sep 17 00:00:00 2001 From: Mitch Hankins Date: Tue, 11 Dec 2018 17:32:21 -0700 Subject: [PATCH] Removing unused function arguments, and converting it to ES6 arrow syntax in test/async-hooks/test-enable-in-init.js --- test/async-hooks/test-enable-in-init.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/async-hooks/test-enable-in-init.js b/test/async-hooks/test-enable-in-init.js index e4be9f9f87e3eb..7bc70994e1fa7d 100644 --- a/test/async-hooks/test-enable-in-init.js +++ b/test/async-hooks/test-enable-in-init.js @@ -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;