mirror of
https://github.com/withastro/astro.git
synced 2025-01-27 22:19:04 -05:00
[ci] format
This commit is contained in:
parent
de60c69aa0
commit
537e971372
1 changed files with 2 additions and 5 deletions
|
@ -452,10 +452,7 @@ async function writeContentFiles({
|
|||
dataTypesStr += `};\n`;
|
||||
}
|
||||
|
||||
if (
|
||||
settings.config.experimental.contentCollectionJsonSchema &&
|
||||
collectionConfig?.schema
|
||||
) {
|
||||
if (settings.config.experimental.contentCollectionJsonSchema && collectionConfig?.schema) {
|
||||
let zodSchemaForJson =
|
||||
typeof collectionConfig.schema === 'function'
|
||||
? collectionConfig.schema({ image: () => z.string() })
|
||||
|
|
Loading…
Add table
Reference in a new issue