chore: rename "part" to "step" (#43934)
* chore: rename part to step * chore: update metas * chore: more renaming * chore: update tooling * chore: update frontmatter * chore(tools): title testing
This commit is contained in:
committed by
GitHub
parent
6dbe68eb2f
commit
b36cdbafd1
@ -14,7 +14,7 @@ class ChallengeTitles {
|
||||
}
|
||||
// reassign titleToCheck if challenge is part of the project
|
||||
// based curriculum
|
||||
const isProjectCurriculumChallenge = title.match(/^Part\s*\d+$/);
|
||||
const isProjectCurriculumChallenge = title.match(/^Step\s*\d+$/);
|
||||
titleToCheck = isProjectCurriculumChallenge ? pathAndTitle : titleToCheck;
|
||||
const isKnown = this.knownTitles.includes(titleToCheck);
|
||||
if (isKnown) {
|
||||
|
Reference in New Issue
Block a user