npm ignore nyc_output
This commit is contained in:
parent
87b96ec5ce
commit
da39daf753
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