Skip to content

Commit d4fd76a

Browse files
prh1codebytere
authored andcommitted
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 <[email protected]> Reviewed-By: Daniel Bevenius <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: Tobias Nießen <[email protected]>
1 parent 817d871 commit d4fd76a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/async-hooks/test-async-await.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ const hooks = initHooks({
2626
});
2727
hooks.enable();
2828

29-
function oninit(asyncId, type, triggerAsyncId, resource) {
29+
function oninit(asyncId, type) {
3030
if (type === 'PROMISE') {
3131
promisesInitState.set(asyncId, 'inited');
3232
}

0 commit comments

Comments
 (0)