Skip to content

Commit 6211fac

Browse files
authored
cache: fix typo (nodejs#4101)
Co-authored-by: alxndrsn <alxndrsn>
1 parent 8c83edd commit 6211fac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/interceptor/cache.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ function handleResult (
221221
// Check if the response is stale
222222
if (needsRevalidation(result, reqCacheControl)) {
223223
if (util.isStream(opts.body) && util.bodyLength(opts.body) !== 0) {
224-
// If body is is stream we can't revalidate...
224+
// If body is a stream we can't revalidate...
225225
// TODO (fix): This could be less strict...
226226
return dispatch(opts, new CacheHandler(globalOpts, cacheKey, handler))
227227
}

0 commit comments

Comments
 (0)