fix: use keys in curriculum.json (#45407)

* feat: add function to map from path to superblock

* fix: use superblocks as keys in curriculum.json

* fix: handle new superblock names

* fix: keep deleting relational-database
This commit is contained in:
Oliver Eyton-Williams
2022-03-10 21:41:33 +01:00
committed by GitHub
parent f485bc1c16
commit 8ee9b5761a
6 changed files with 97 additions and 17 deletions

View File

@ -41,7 +41,7 @@ exports.buildChallenges = async function buildChallenges() {
// temp removal of rdbms from production
if (deploymentEnv !== 'staging') {
delete curriculum['13-relational-databases'];
delete curriculum['relational-database'];
}
const superBlocks = Object.keys(curriculum);