Skip to content

Commit 12856b0

Browse 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

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎lib/internal/async_hooks.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ function validateAsyncId(asyncId, type) {
124124
// emitInitScript.
125125
functionemitInitNative(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(vari=0;i<active_hooks.array.length;i++){
130130
if(typeofactive_hooks.array[i][init_symbol]==='function'){

0 commit comments

Comments
 (0)