Skip to content

Connect, collaborate, and grow with a community of TypeScript developers

Filter out 'aot' challenge from getChallengeIds() (#1409)

Michael Wiltfongdb4739a76c65
diff --git a/challenges/validate.ts b/challenges/validate.ts
index 4ab5c103..6267ac0a 100644
--- a/challenges/validate.ts
+++ b/challenges/validate.ts
@@ -74,6 +74,7 @@ const challengesDir = `${repoRoot}/challenges/`;
export const getChallengeIds = () => {
return readdirSync(challengesDir)
.filter((id) => id !== 'blank')
+ .filter((id) => id !== 'aot')
.filter((id) => statSync(join(challengesDir, id)).isDirectory())
.filter((id) => statSync(join(challengesDir, id, 'metadata.json')).isFile())
.filter((id) => statSync(join(challengesDir, id, 'tsconfig.json')).isFile());