From 22067bfd02eebd22d6a91a886dd108cc0359294c Mon Sep 17 00:00:00 2001 From: kirill <traineratwot@yandex.ru> Date: Tue, 14 May 2024 00:03:33 +0300 Subject: [PATCH] fix --- index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.ts b/index.ts index 63f2ccb..dab41f2 100644 --- a/index.ts +++ b/index.ts @@ -73,7 +73,7 @@ async function moveData() { async function optimizeData() { //optimize data const languages = new Bun.Glob("**/data.json"); - for await (const file of languages.scan("./dist")) { + for await (const file of languages.scan("./dist/languages/")) { const [languages, name] = [dirname(file), basename(file)]; // if (languages.length !== 2) continue if (name !== "data.json") continue;