Skip to content

Commit

Permalink
fix(fetch-cache): fix typo (#64786)
Browse files Browse the repository at this point in the history
## Why?

This typo was resulting in this error in deploy.

```
Failed to get from fetch-cache TypeError: s.tags.include is not a function
```

Closes NEXT-3168
  • Loading branch information
samcx authored Apr 19, 2024
1 parent b7eb7d3 commit cecf13a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
}
Expand Down

0 comments on commit cecf13a

Please sign in to comment.