Skip to content

Commit 83d017c

Browse files
committed
chore: lint fix
1 parent 6ca3d23 commit 83d017c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/module.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ const _module: NuxtModule<NuxtStoriesOptions> = defineNuxtModule<NuxtStoriesOpti
136136
// When frameCwd is not set or in other modes the iframe uses same-origin routes.
137137
const frameBaseUrl =
138138
mode === 'shell' && nuxt.options.dev && options.frameCwd
139-
? `http://localhost:${options.framePort ?? (nuxt.options.devServer.port + 1)}`
139+
? `http://localhost:${options.framePort ?? nuxt.options.devServer.port + 1}`
140140
: undefined
141141

142142
// Expose base paths so runtime composables can compute URLs dynamically
@@ -173,7 +173,7 @@ const _module: NuxtModule<NuxtStoriesOptions> = defineNuxtModule<NuxtStoriesOpti
173173
const frameAbsCwd = path.resolve(nuxt.options.rootDir, options.frameCwd)
174174
const frameTmpDir = path.join(frameAbsCwd, '.nuxt-stories')
175175
const frameTmpConfig = path.join(frameTmpDir, 'nuxt.config.mjs')
176-
const framePort = options.framePort ?? (nuxt.options.devServer.port + 1)
176+
const framePort = options.framePort ?? nuxt.options.devServer.port + 1
177177
// Use the actual running module file path (works in both stub and built mode)
178178
const moduleEntry = new URL(import.meta.url).pathname
179179

0 commit comments

Comments
 (0)