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
@@ -22,7 +22,7 @@ if (!stepExists(existingSteps, num)) {
|
||||
throw `Step # ${num} not deleted because it does not exist.`;
|
||||
}
|
||||
|
||||
const stepFileToDelete = `${projectPath}part-${padWithLeadingZeros(num)}.md`;
|
||||
const stepFileToDelete = `${projectPath}step-${padWithLeadingZeros(num)}.md`;
|
||||
try {
|
||||
fs.unlinkSync(stepFileToDelete);
|
||||
console.log(`Sucessfully deleted step #${num}`);
|
||||
|
Reference in New Issue
Block a user