File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
tests-unit/tests/adapters Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -362,7 +362,9 @@ export default class Cache {
362362 for ( const path of paths ) {
363363 // We need to find all hard tags for a given path
364364 const _tags = await globalThis . tagCache . getByPath ( path ) ;
365- const hardTags = _tags . filter ( ( t ) => ! t . startsWith ( SOFT_TAG_PREFIX ) ) ;
365+ const hardTags = _tags . filter (
366+ ( t ) => ! t . startsWith ( SOFT_TAG_PREFIX ) ,
367+ ) ;
366368 // For every hard tag, we need to find all paths and revalidate them
367369 for ( const hardTag of hardTags ) {
368370 const _paths = await globalThis . tagCache . getByTag ( hardTag ) ;
Original file line number Diff line number Diff line change 11/* eslint-disable sonarjs/no-duplicate-string */
2- import Cache , { SOFT_TAG_PREFIX } from "@opennextjs/aws/adapters/cache.js" ;
2+ import Cache , { SOFT_TAG_PREFIX } from "@opennextjs/aws/adapters/cache.js" ;
33import { vi } from "vitest" ;
44
55declare global {
You can’t perform that action at this time.
0 commit comments