From 3df0570c90fda13f2d6982caedf9ec1af8db36d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20Nie=C3=9Fen?= Date: Sat, 6 Jan 2018 20:17:53 +0100 Subject: [PATCH] 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 Reviewed-By: Anatoli Papirovski Reviewed-By: Weijia Wang Reviewed-By: Luigi Pinca Reviewed-By: James M Snell Reviewed-By: Colin Ihrig Reviewed-By: Yuta Hiroto --- lib/internal/async_hooks.js | 2 +- lib/internal/http2/core.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/internal/async_hooks.js b/lib/internal/async_hooks.js index b1e5de2bebc08f..9de8bcd9cc8a7e 100644 --- a/lib/internal/async_hooks.js +++ b/lib/internal/async_hooks.js @@ -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 diff --git a/lib/internal/http2/core.js b/lib/internal/http2/core.js index 2e0910dbee2963..d83897c20b7902 100644 --- a/lib/internal/http2/core.js +++ b/lib/internal/http2/core.js @@ -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; }