From ef5ddf69e49e0fff9ecb7c2af6578cf0451fa0a7 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);