Skip to content

Commit 12856b0

Browse files
danbevaddaleax
authored andcommitted
lib: change hook -> hooks in code comment
PR-URL: #19053 Reviewed-By: Daijiro Wachi <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]>
1 parent 68c1337 commit 12856b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/internal/async_hooks.js

+1-1
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)