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:
Nicholas Carrigan (he/him)
2021-10-21 10:07:52 -07:00
committed by GitHub
parent 6dbe68eb2f
commit b36cdbafd1
2194 changed files with 237701 additions and 237701 deletions

View File

@ -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) {