Skip to content

Commit

Permalink
lib: fix spelling in comments
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
tniessen authored and MylesBorins committed Mar 30, 2018
1 parent 1043b6f commit 3df0570
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/internal/async_hooks.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion lib/internal/http2/core.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 3df0570

Please sign in to comment.