lib: fix spelling in comments

Backport-PR-URL: https://github.com/nodejs/node/pull/19118
PR-URL: https://github.com/nodejs/node/pull/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>
This commit is contained in:
Tobias Nießen authored and Myles Borins committed 2018-03-29 23:28:21 -04:00
1 parent 1043b6fd7c
commit 3df0570c90
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -34,7 +34,7 @@ const { async_id_symbol, async_hook_fields, async_id_fields } = async_wrap;
// case of a fatal exception this stack is emptied after calling each hook's
// after() callback.
const { pushAsyncIds: pushAsyncIds_, popAsyncIds: popAsyncIds_ } = async_wrap;
// For performance reasons, only track Proimses when a hook is enabled.
// For performance reasons, only track Promises when a hook is enabled.
const { enablePromiseHook, disablePromiseHook } = async_wrap;
// Properties in active_hooks are used to keep track of the set of hooks being
// executed in case another hook is enabled/disabled. The new set of hooks is
+1 -1
View File
@@ -1276,7 +1276,7 @@ class Http2Stream extends Duplex {
process.nextTick(emit, this, 'timeout');
}
// true if the Http2Stream was aborted abornomally.
// true if the Http2Stream was aborted abnormally.
get aborted() {
return this[kState].aborted;
}