Skip to content

Commit 3df0570

Browse files
tniessenMylesBorins
authored andcommitted
lib: fix spelling in comments
Backport-PR-URL: #19118 PR-URL: #18018 Reviewed-By: Jon Moss <me@jonathanmoss.me> Reviewed-By: Anatoli Papirovski <apapirovski@mac.com> Reviewed-By: Weijia Wang <starkwang@126.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
1 parent 1043b6f commit 3df0570

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/internal/async_hooks.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ const { async_id_symbol, async_hook_fields, async_id_fields } = async_wrap;
3434
// case of a fatal exception this stack is emptied after calling each hook's
3535
// after() callback.
3636
const { pushAsyncIds: pushAsyncIds_, popAsyncIds: popAsyncIds_ } = async_wrap;
37-
// For performance reasons, only track Proimses when a hook is enabled.
37+
// For performance reasons, only track Promises when a hook is enabled.
3838
const { enablePromiseHook, disablePromiseHook } = async_wrap;
3939
// Properties in active_hooks are used to keep track of the set of hooks being
4040
// executed in case another hook is enabled/disabled. The new set of hooks is

lib/internal/http2/core.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1276,7 +1276,7 @@ class Http2Stream extends Duplex {
12761276
process.nextTick(emit, this, 'timeout');
12771277
}
12781278

1279-
// true if the Http2Stream was aborted abornomally.
1279+
// true if the Http2Stream was aborted abnormally.
12801280
get aborted() {
12811281
return this[kState].aborted;
12821282
}

0 commit comments

Comments
 (0)