Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Traineratwot committed May 13, 2024
1 parent a9abd6d commit 22067bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 22067bf

Please sign in to comment.