Skip to content

Commit

Permalink
Change indexFilePath to lexicon file
Browse files Browse the repository at this point in the history
  • Loading branch information
MrCars0n committed Dec 6, 2024
1 parent 6e9d0c3 commit 1a2a091
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions convert/convertReverseIndex.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ function convertReverseIndex(
dataDir: string,
language: string,
alphabet: string[],
reversalFilename: string
//reversalFilename: string
): void {
const indexFilePath = path.join(dataDir, 'reversal', reversalFilename);
const indexFilePath = path.join(dataDir, 'reversal', `lexicon-${language}.idx`);
const outputDir = path.join('static', 'reversal', 'language', language);

if (!existsSync(indexFilePath)) {
Expand Down Expand Up @@ -135,7 +135,7 @@ export class ConvertReverseIndex extends Task {
this.dataDir,
lang,
writingSystem.alphabet,
writingSystem.reversalFilename
//writingSystem.reversalFilename
);
}
}
Expand Down

0 comments on commit 1a2a091

Please sign in to comment.