From 8c33b71bdfe36038c3661dc64027271130ffaea8 Mon Sep 17 00:00:00 2001 From: marsonya Date: Wed, 10 Mar 2021 23:52:44 +0530 Subject: [PATCH] lib: fix typo in lib/internal/http2/core.js PR-URL: https://github.com/nodejs/node/pull/37695 Reviewed-By: Antoine du Hamel Reviewed-By: Luigi Pinca Reviewed-By: Colin Ihrig Reviewed-By: Darshan Sen --- lib/internal/http2/core.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/internal/http2/core.js b/lib/internal/http2/core.js index 52c77432a0887a..bb1cc9e6c56fa2 100644 --- a/lib/internal/http2/core.js +++ b/lib/internal/http2/core.js @@ -1280,7 +1280,7 @@ class Http2Session extends EventEmitter { } // Sets the local window size (local endpoints's window size) - // Returns 0 if sucess or throw an exception if NGHTTP2_ERR_NOMEM + // Returns 0 if success or throw an exception if NGHTTP2_ERR_NOMEM // if the window allocation fails setLocalWindowSize(windowSize) { if (this.destroyed)