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 BridgeAR committed Nov 13, 2018
1 parent ad72e40 commit ea5d184
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 ea5d184

Please sign in to comment.