npm ignore nyc_output
This commit is contained in:
parent
6bc5de6581
commit
ef5ddf69e4
1
index.js
1
index.js
@ -97,6 +97,7 @@ async function getResponse(cache, requestArguments) {
|
|||||||
if (cachedValue) {
|
if (cachedValue) {
|
||||||
return new Response(cachedValue, ejectSelfFromCache, true);
|
return new Response(cachedValue, ejectSelfFromCache, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
const fetchResponse = await fetch(...requestArguments);
|
const fetchResponse = await fetch(...requestArguments);
|
||||||
const rawResponse = await createRawResponse(fetchResponse);
|
const rawResponse = await createRawResponse(fetchResponse);
|
||||||
await cache.set(cacheKey, rawResponse);
|
await cache.set(cacheKey, rawResponse);
|
||||||
|
Reference in New Issue
Block a user