Skip to content

Commit 3d62e6d

Browse files
committed
chore: lint and typecheck fixes
1 parent 30cff92 commit 3d62e6d

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/run/handlers/cache.cts

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -178,10 +178,12 @@ export class NetlifyCacheHandler implements CacheHandlerForMultipleVersions {
178178
try {
179179
let loadManifest
180180
try {
181-
// Starting in 15.4.0-canary.10 loadManifest was relocated (https://github.com/vercel/next.js/pull/78358)
182-
({ loadManifest } = await import('next/dist/server/load-manifest.external.js'))
181+
// @ts-expect-error Starting in 15.4.0-canary.10 loadManifest was relocated (https://github.com/vercel/next.js/pull/78358)
182+
// eslint-disable-next-line @typescript-eslint/no-extra-semi
183+
;({ loadManifest } = await import('next/dist/server/load-manifest.external.js'))
183184
} catch {
184-
({ loadManifest } = await import('next/dist/server/load-manifest.js'))
185+
// eslint-disable-next-line @typescript-eslint/no-extra-semi
186+
;({ loadManifest } = await import('next/dist/server/load-manifest.js'))
185187
}
186188
const prerenderManifest = loadManifest(
187189
join(this.options.serverDistDir, '..', 'prerender-manifest.json'),

0 commit comments

Comments
 (0)