mirror of
https://github.com/leon-ai/leon.git
synced 2024-11-28 12:43:35 +03:00
15 lines
317 B
JavaScript
15 lines
317 B
JavaScript
import { LogHelper } from '@/helpers/log-helper'
|
|
|
|
import generateJsonSchemas from './generate-json-schemas'
|
|
|
|
/**
|
|
* Execute the generating JSON schemas script
|
|
*/
|
|
;(async () => {
|
|
try {
|
|
await generateJsonSchemas()
|
|
} catch (error) {
|
|
LogHelper.error(`Failed to generate the json schemas: ${error}`)
|
|
}
|
|
})()
|