From cebfdcddf46ce190a5be003366845adc7009adcb Mon Sep 17 00:00:00 2001 From: Aras Abbasi Date: Fri, 9 Feb 2024 18:45:50 +0100 Subject: [PATCH] rephrase some comments (#2717) --- lib/fetch/index.js | 2 +- lib/fetch/util.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/fetch/index.js b/lib/fetch/index.js index a11f0a8d506..a989295bc4b 100644 --- a/lib/fetch/index.js +++ b/lib/fetch/index.js @@ -369,7 +369,7 @@ function fetching ({ useParallelQueue = false, dispatcher // undici }) { - // This has bitten me in the ass more times than I'd like to admit. + // Ensure that the dispatcher is set accordingly assert(dispatcher) // 1. Let taskDestination be null. diff --git a/lib/fetch/util.js b/lib/fetch/util.js index 8812895bf4d..c5a6b46b170 100644 --- a/lib/fetch/util.js +++ b/lib/fetch/util.js @@ -1072,7 +1072,7 @@ function simpleRangeHeaderValue (value, allowWhitespace) { // 13. If allowWhitespace is true, collect a sequence of code points that are HTTP tab // or space, from data given position. - // Note from Khafra: its the same fucking step again lol + // Note from Khafra: its the same step as in #8 again lol if (allowWhitespace) { collectASequenceOfCodePoints( (char) => char === '\t' || char === ' ',