mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2025-12-19 18:18:27 -05:00
feat: prep b1 english for release (#57543)
This commit is contained in:
committed by
GitHub
parent
7c98f2642a
commit
c9d2b47fc4
@@ -143,11 +143,12 @@ exports.createPages = async function createPages({
|
||||
({ node }) => node
|
||||
);
|
||||
|
||||
const inNextCurriculum = superBlock =>
|
||||
superBlockStages[SuperBlockStage.Next].includes(superBlock);
|
||||
const inCurrentCurriculum = superBlock =>
|
||||
!superBlockStages[SuperBlockStage.Next].includes(superBlock) &&
|
||||
!superBlockStages[SuperBlockStage.NextEnglish].includes(superBlock);
|
||||
|
||||
const currentChallengeNodes = allChallengeNodes.filter(
|
||||
node => !inNextCurriculum(node.challenge.superBlock)
|
||||
const currentChallengeNodes = allChallengeNodes.filter(node =>
|
||||
inCurrentCurriculum(node.challenge.superBlock)
|
||||
);
|
||||
|
||||
const createIdToNextPathMap = nodes =>
|
||||
|
||||
Reference in New Issue
Block a user