fix(tools): curriculum command line helpers (#61831)

This commit is contained in:
Oliver Eyton-Williams
2025-09-02 16:03:28 +02:00
committed by GitHub
parent c58ba56eeb
commit 10c565828e
40 changed files with 773 additions and 1010 deletions
+2 -1
View File
@@ -9,6 +9,7 @@ const {
getContentDir,
getBlockCreator
} = require('../../curriculum/build-curriculum');
const { getBlockStructure } = require('../../curriculum/file-handler');
const { curriculumLocale } = envData;
@@ -23,7 +24,7 @@ exports.replaceChallengeNode = () => {
const filename = path.basename(filePath);
console.log(`Replacing challenge node for ${filePath}`);
const meta = blockCreator.getMetaForBlock(block);
const meta = getBlockStructure(block);
return await blockCreator.createChallenge({
filename,