From 6efcfbbf34c4c4dcdd0a66ff513e733d7e627432 Mon Sep 17 00:00:00 2001 From: Naomi Carrigan Date: Fri, 22 Dec 2023 16:04:15 -0800 Subject: [PATCH] fix(tools): ignore license file in challenge audit (#52717) --- tools/challenge-auditor/index.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/challenge-auditor/index.ts b/tools/challenge-auditor/index.ts index 7b8a469b674..e4f041291be 100644 --- a/tools/challenge-auditor/index.ts +++ b/tools/challenge-auditor/index.ts @@ -100,6 +100,9 @@ void (async () => { join(englishCurriculumDirectory, englishSuperblock) ); for (const englishBlock of englishBlocks) { + if (englishBlock.endsWith('.txt')) { + continue; + } const englishChallenges = await readdir( join(englishCurriculumDirectory, englishSuperblock, englishBlock) );