1
1
mirror of https://github.com/leon-ai/leon.git synced 2024-09-19 22:07:10 +03:00

chore: format pre-check

This commit is contained in:
louistiti 2022-11-19 21:13:00 +08:00
parent 5959b43e0a
commit cc05ce3d76
No known key found for this signature in database
GPG Key ID: 7ECA3DD523793FE6

View File

@ -147,10 +147,7 @@ const GLOBAL_DATA_SCHEMAS = {
*/
const globalAnswersPath = path.join(GLOBAL_DATA_PATH, lang, 'answers.json')
const answers: GlobalAnswers = JSON.parse(
await fs.promises.readFile(
globalAnswersPath,
'utf8'
)
await fs.promises.readFile(globalAnswersPath, 'utf8')
)
validateSchema(
GLOBAL_DATA_SCHEMAS.answers,