We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0285ffb commit 884090aCopy full SHA for 884090a
app/utils/getCacheAnalysis.ts
@@ -46,13 +46,13 @@ export const parseCacheStatus = (
46
parameters
47
.map((parameter) => {
48
const [key, value] = parameter.split("=");
49
- if (!key || !value) {
+ if (!key) {
50
console.warn("Ignoring invalid cache status entry", { entry });
51
return null;
52
}
53
return [key, value];
54
})
55
- .filter((kv): kv is [string, string] => kv != null),
+ .filter((kv): kv is [string, string | undefined] => kv != null),
56
);
57
return {
58
cacheName: cacheName.slice(1, -1), // "Netlify Edge" -> Netlify Edge
0 commit comments