From da39daf753d153fadb4f883ecda10a7a5d86449c Mon Sep 17 00:00:00 2001 From: Randall Schmidt Date: Fri, 11 Jun 2021 14:04:44 -0400 Subject: [PATCH] npm ignore nyc_output --- index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/index.js b/index.js index 87eae54..1c6c66f 100644 --- a/index.js +++ b/index.js @@ -97,6 +97,7 @@ async function getResponse(cache, requestArguments) { if (cachedValue) { return new Response(cachedValue, ejectSelfFromCache, true); } + const fetchResponse = await fetch(...requestArguments); const rawResponse = await createRawResponse(fetchResponse); await cache.set(cacheKey, rawResponse);