Skip to content

Commit

Permalink
test: remove unused parameters in function definition
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
prh1 authored and codebytere committed Jan 12, 2019
1 parent 817d871 commit d4fd76a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/async-hooks/test-async-await.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');
}
Expand Down

0 comments on commit d4fd76a

Please sign in to comment.