Skip to content

Commit bad4167

Browse files
committed
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 0a3dcf7 commit bad4167

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/internal/async_hooks.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ function validateAsyncId(asyncId, type) {
126126
// emitInitScript.
127127
function emitInitNative(asyncId, type, triggerAsyncId, resource) {
128128
active_hooks.call_depth += 1;
129-
// Use a single try/catch for all hook to avoid setting up one per iteration.
129+
// Use a single try/catch for all hooks to avoid setting up one per iteration.
130130
try {
131131
for (var i = 0; i < active_hooks.array.length; i++) {
132132
if (typeof active_hooks.array[i][init_symbol] === 'function') {

0 commit comments

Comments
 (0)