Permalink
Browse files

test: remove unused parameters in function definition

Remove unused parameters triggerAsyncId and resource from oninit
function in test-async-await.js.

PR-URL: #24268
Reviewed-By: Weijia Wang <starkwang@126.com>
Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
  • Loading branch information...
prh1 authored and Trott committed Nov 9, 2018
1 parent d72d43f commit 49b0f7fa19ce4b8fc3930124e58496894d4ea932
Showing with 1 addition and 1 deletion.
  1. +1 −1 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');
}

0 comments on commit 49b0f7f

Please sign in to comment.