chore(curriculum): remove BUILD_WITH_SUBMODULE env variable (#55654)

This commit is contained in:
Tom
2024-07-26 10:12:11 -05:00
committed by GitHub
parent 82ec052a3f
commit 99023bfcdc
11 changed files with 33 additions and 39 deletions
+6 -2
View File
@@ -8,7 +8,7 @@ const {
generateChallengeCreator,
ENGLISH_CHALLENGES_DIR,
META_DIR,
CHALLENGES_DIR,
I18N_CHALLENGES_DIR,
getChallengesDirForLang
} = require('../../curriculum/get-challenges');
@@ -30,7 +30,11 @@ exports.replaceChallengeNode = () => {
'english',
filePath
);
const i18nPath = path.resolve(CHALLENGES_DIR, curriculumLocale, filePath);
const i18nPath = path.resolve(
I18N_CHALLENGES_DIR,
curriculumLocale,
filePath
);
// TODO: reimplement hot-reloading of certifications
const createChallenge = generateChallengeCreator(
curriculumLocale,