Skip to content

Commit 5eaabb4

Browse files
committed
linting
1 parent 3fbf663 commit 5eaabb4

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

packages/open-next/src/adapters/cache.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff 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);

packages/tests-unit/tests/adapters/cache.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
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";
33
import { vi } from "vitest";
44

55
declare global {

0 commit comments

Comments
 (0)