Skip to content

Commit e335b55

Browse files
committed
lib: fix spelling in comments
PR-URL: nodejs#18018 Reviewed-By: Jon Moss <[email protected]> Reviewed-By: Anatoli Papirovski <[email protected]> Reviewed-By: Weijia Wang <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Yuta Hiroto <[email protected]>
1 parent dbf0618 commit e335b55

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/internal/async_hooks.js

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

lib/internal/http2/core.js

Lines changed: 1 addition & 1 deletion
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)