From ea5d1841af0625254502360fabe7f7079cc39c2f Mon Sep 17 00:00:00 2001 From: Paul Hodgson Date: Fri, 9 Nov 2018 08:02:26 +0000 Subject: [PATCH] test: remove unused parameters in function definition MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Remove unused parameters triggerAsyncId and resource from oninit function in test-async-await.js. PR-URL: https://github.com/nodejs/node/pull/24268 Reviewed-By: Weijia Wang Reviewed-By: Daniel Bevenius Reviewed-By: James M Snell Reviewed-By: Luigi Pinca Reviewed-By: Colin Ihrig Reviewed-By: Ruben Bridgewater Reviewed-By: Tobias Nießen --- test/async-hooks/test-async-await.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/async-hooks/test-async-await.js b/test/async-hooks/test-async-await.js index f5e886e9d50001..0103f63621e3ba 100644 --- a/test/async-hooks/test-async-await.js +++ b/test/async-hooks/test-async-await.js @@ -26,7 +26,7 @@ const hooks = initHooks({ }); hooks.enable(); -function oninit(asyncId, type, triggerAsyncId, resource) { +function oninit(asyncId, type) { if (type === 'PROMISE') { promisesInitState.set(asyncId, 'inited'); }