Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit e564349

Browse files
GeoffreyBoothaduh95
andcommittedSep 14, 2023
Apply suggestions from code review
Co-authored-by: Antoine du Hamel <[email protected]>
1 parent da76e59 commit e564349

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed
 

‎lib/internal/modules/esm/fetch_module.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ const cacheForGET = new SafeMap();
4747
/** @type {import('https').Agent} The Cached HTTP Agent for **secure** HTTP requests. */
4848
let HTTPSAgent;
4949
/**
50-
* Make a **secure** HTTP GET request (handling agent setup if needed, caching the agent to avoid
50+
* Make a HTTPs GET request (handling agent setup if needed, caching the agent to avoid
5151
* redudant instantiations).
5252
* @param {Parameters<import('https').get>[0]} input - The URI to fetch.
5353
* @param {Parameters<import('https').get>[1]} options - See https.get() options.
@@ -66,10 +66,10 @@ function HTTPSGet(input, options) {
6666
/** @type {import('https').Agent} The Cached HTTP Agent for **insecure** HTTP requests. */
6767
let HTTPAgent;
6868
/**
69-
* Make a **insecure** HTTP GET request (handling agent setup if needed, caching the agent to avoid
69+
* Make a HTTP GET request (handling agent setup if needed, caching the agent to avoid
7070
* redudant instantiations).
71-
* @param {Parameters<import('https').get>[0]} input - The URI to fetch.
72-
* @param {Parameters<import('https').get>[1]} options - See http.get() options.
71+
* @param {Parameters<import('http').get>[0]} input - The URI to fetch.
72+
* @param {Parameters<import('http').get>[1]} options - See http.get() options.
7373
*/
7474
function HTTPGet(input, options) {
7575
const http = require('http'); // [1]

0 commit comments

Comments
 (0)
Please sign in to comment.