Skip to content

Commit a7b886a

Browse files
committed
chore: fix lint
1 parent 9d42549 commit a7b886a

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

playground/nuxt.config.ts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,11 @@ export default defineNuxtConfig({
4040
}
4141
else if (idx === 1 && config) {
4242
config.content = config.content ?? []
43-
Array.isArray(config.content) ? config.content.push('my-content') : config.content.files.push('my-file-content')
43+
44+
if (Array.isArray(config.content))
45+
config.content.push('my-content')
46+
else
47+
config.content.files.push('my-file-content')
4448
}
4549
},
4650
'tailwindcss:config': (config) => {
@@ -72,4 +76,4 @@ export default defineNuxtConfig({
7276
],
7377

7478
compatibilityDate: '2024-07-11',
75-
})
79+
})

0 commit comments

Comments
 (0)