mirror of
https://github.com/leon-ai/leon.git
synced 2024-09-20 06:17:20 +03:00
chore: format pre-check
This commit is contained in:
parent
5959b43e0a
commit
cc05ce3d76
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user