Skip to content

Commit 3ec6942

Browse files
committed
Remove dead code
1 parent 8f53c19 commit 3ec6942

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

scripts/generateTranslations.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -687,10 +687,6 @@ async function main(): Promise<void> {
687687
const validatedPaths: TranslationPaths[] = [];
688688
const invalidPaths: string[] = [];
689689

690-
// We disable eslint here and do a dynamic require because tests mock the en.ts file using fs, and normal imports can't be mocked by jest
691-
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-member-access
692-
// const en = require(enSourceFile).default;
693-
694690
for (const rawPath of rawPaths) {
695691
if (get(en, rawPath)) {
696692
validatedPaths.push(rawPath as TranslationPaths);

0 commit comments

Comments
 (0)