From b576893d00b64218db45324cf050591d8b13d87c Mon Sep 17 00:00:00 2001 From: samcx Date: Fri, 19 Apr 2024 11:17:29 -0400 Subject: [PATCH] fix(fetch-cache): fix typo --- packages/next/src/server/lib/incremental-cache/fetch-cache.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/next/src/server/lib/incremental-cache/fetch-cache.ts b/packages/next/src/server/lib/incremental-cache/fetch-cache.ts index 2c6783f8a5a5b..134586d46fa05 100644 --- a/packages/next/src/server/lib/incremental-cache/fetch-cache.ts +++ b/packages/next/src/server/lib/incremental-cache/fetch-cache.ts @@ -244,7 +244,7 @@ export default class FetchCache implements CacheHandler { if (cached.kind === 'FETCH') { cached.tags ??= [] for (const tag of tags ?? []) { - if (!cached.tags.include(tag)) { + if (!cached.tags.includes(tag)) { cached.tag.push(tag) } }