From cf1ae9f089ceb45cea378ddeff09b0f6bdfe59df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Rialland?= Date: Wed, 1 Feb 2023 21:37:30 +0100 Subject: [PATCH] debug --- site/scripts/search/update-data.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/site/scripts/search/update-data.ts b/site/scripts/search/update-data.ts index ca1b1f000..b5a50207e 100644 --- a/site/scripts/search/update-data.ts +++ b/site/scripts/search/update-data.ts @@ -9,8 +9,9 @@ dotenv.config() const path = '../../dist/simulation-data.json' // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access -const simuData = (await import(path, { assert: { type: 'json' } })) - .default as unknown as Omit +const simuData = (await import(path, { + assert: { type: 'json' }, +})) as unknown as Omit console.log(simuData)