1
1
mirror of https://github.com/leon-ai/leon.git synced 2024-11-28 12:43:35 +03:00
leon/scripts/generate/run-generate-skills-endpoints.js
2022-09-26 21:29:56 +08:00

15 lines
325 B
JavaScript

import { LogHelper } from '@/helpers/log-helper'
import generateSkillsEndpoints from './generate-skills-endpoints'
/**
* Execute the generating skills endpoints script
*/
;(async () => {
try {
await generateSkillsEndpoints()
} catch (e) {
LogHelper.error(`Failed to generate skills endpoints: ${e}`)
}
})()