Skip to content

Commit 67713f1

Browse files
committed
fixup! reapply
1 parent 975be02 commit 67713f1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/internal/modules/esm/fetch_module.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ const { compose } = require('stream');
3131
* Only for GET requests, other requests would need new Map
3232
* HTTP cache semantics keep diff caches
3333
*
34-
* It caches either the promise or the cahce entry since import.meta.url needs
34+
* It caches either the promise or the cache entry since import.meta.url needs
3535
* the value synchronously for the response location after all redirects.
3636
*
3737
* Maps HREF to pending cache entry
@@ -105,7 +105,7 @@ function fetchWithRedirects(parsed) {
105105
headers: { Accept: '*/*' },
106106
});
107107
// Note that `once` is used here to handle `error` and that it hits the
108-
// finally on network error/timeout.
108+
// `finally` on network error/timeout.
109109
const { 0: res } = await once(req, 'response');
110110
try {
111111
const isRedirect = res.statusCode >= 300 && res.statusCode <= 303;

0 commit comments

Comments
 (0)