File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ const { compose } = require('stream');
31
31
* Only for GET requests, other requests would need new Map
32
32
* HTTP cache semantics keep diff caches
33
33
*
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
35
35
* the value synchronously for the response location after all redirects.
36
36
*
37
37
* Maps HREF to pending cache entry
@@ -105,7 +105,7 @@ function fetchWithRedirects(parsed) {
105
105
headers : { Accept : '*/*' } ,
106
106
} ) ;
107
107
// 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.
109
109
const { 0 : res } = await once ( req , 'response' ) ;
110
110
try {
111
111
const isRedirect = res . statusCode >= 300 && res . statusCode <= 303 ;
You can’t perform that action at this time.
0 commit comments