From 12856b0dd29caed0341d913269cc605f35a14f3e Mon Sep 17 00:00:00 2001 From: Daniel Bevenius Date: Wed, 28 Feb 2018 07:27:59 +0100 Subject: [PATCH] lib: change hook -> hooks in code comment PR-URL: https://github.com/nodejs/node/pull/19053 Reviewed-By: Daijiro Wachi Reviewed-By: Colin Ihrig Reviewed-By: James M Snell Reviewed-By: Richard Lau Reviewed-By: Ruben Bridgewater --- lib/internal/async_hooks.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/internal/async_hooks.js b/lib/internal/async_hooks.js index ea49239a6178bb..6f9b5b0a93eee5 100644 --- a/lib/internal/async_hooks.js +++ b/lib/internal/async_hooks.js @@ -124,7 +124,7 @@ function validateAsyncId(asyncId, type) { // emitInitScript. function emitInitNative(asyncId, type, triggerAsyncId, resource) { active_hooks.call_depth += 1; - // Use a single try/catch for all hook to avoid setting up one per iteration. + // Use a single try/catch for all hooks to avoid setting up one per iteration. try { for (var i = 0; i < active_hooks.array.length; i++) { if (typeof active_hooks.array[i][init_symbol] === 'function') {