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 12856b0

Browse filesBrowse files
danbevaddaleax
authored andcommitted
lib: change hook -> hooks in code comment
PR-URL: #19053 Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
1 parent 68c1337 commit 12856b0
Copy full SHA for 12856b0

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

‎lib/internal/async_hooks.js‎

Copy file name to clipboardExpand all lines: lib/internal/async_hooks.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ function validateAsyncId(asyncId, type) {
124124
// emitInitScript.
125125
function emitInitNative(asyncId, type, triggerAsyncId, resource) {
126126
active_hooks.call_depth += 1;
127-
// Use a single try/catch for all hook to avoid setting up one per iteration.
127+
// Use a single try/catch for all hooks to avoid setting up one per iteration.
128128
try {
129129
for (var i = 0; i < active_hooks.array.length; i++) {
130130
if (typeof active_hooks.array[i][init_symbol] === 'function') {

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.