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 <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 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.