feat(curriculum): add relational databases cert as upcoming change (#41658)
This commit is contained in:
@ -3,6 +3,7 @@ const crypto = require('crypto');
|
||||
function createChallengeNode(challenge, reporter) {
|
||||
// challengeType 11 is for video challenges (they only have instructions)
|
||||
// challengeType 7 is for certificates (they only have tests)
|
||||
// challengeType 12 is for CodeAlly/CodeRoad challenge
|
||||
|
||||
// TODO: either handle empty descriptions inside Gatsby OR ensure that
|
||||
// description defaults to '' when creating challenges.
|
||||
@ -12,7 +13,8 @@ function createChallengeNode(challenge, reporter) {
|
||||
if (
|
||||
typeof challenge.description !== 'string' &&
|
||||
challenge.challengeType !== 11 &&
|
||||
challenge.challengeType !== 7
|
||||
challenge.challengeType !== 7 &&
|
||||
challenge.challengeType !== 12
|
||||
) {
|
||||
reporter.warn(`
|
||||
|
||||
|
Reference in New Issue
Block a user