Skip to content

Commit 2fc47f3

Browse files
[autofix.ci] apply automated fixes
1 parent 51e463f commit 2fc47f3

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/image/setup.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,7 @@ export async function setupImage(nuxt: Nuxt, hub: HubConfig, deps: Record<string
2020
// Check if @nuxt/image v2+ by trying to resolve runtime path (v1 doesn't export it)
2121
try {
2222
await resolvePath('@nuxt/image/runtime')
23-
}
24-
catch {
23+
} catch {
2524
logWhenReady(nuxt, '@nuxt/image v2+ is required for NuxtHub integration. Please upgrade to @nuxt/image@^2.0.0', 'warn')
2625
return
2726
}

0 commit comments

Comments
 (0)