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');
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 ;
You can’t perform that action at this time.
0 commit comments