Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit d4fd76a

Browse filesBrowse 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 <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>
1 parent 817d871 commit d4fd76a
Copy full SHA for d4fd76a

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Collapse file

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

Copy file name to clipboardExpand all lines: test/async-hooks/test-async-await.js
+1-1Lines changed: 1 addition & 1 deletion
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.