mirror of
https://github.com/kamranahmedse/developer-roadmap.git
synced 2025-09-25 00:21:28 +02:00
fix: topic path
This commit is contained in:
@@ -115,7 +115,7 @@ for (const topic of allTopics) {
|
|||||||
|
|
||||||
const topicSlug = `${slugify(label)}@${nodeId}.md`;
|
const topicSlug = `${slugify(label)}@${nodeId}.md`;
|
||||||
|
|
||||||
const topicPath = path.join(ROADMAP_CONTENT_DIR, topicSlug);
|
const topicPath = path.join(ROADMAP_CONTENT_DIR, 'content', topicSlug);
|
||||||
const topicDir = path.dirname(topicPath);
|
const topicDir = path.dirname(topicPath);
|
||||||
const topicDirExists = await fs
|
const topicDirExists = await fs
|
||||||
.stat(topicDir)
|
.stat(topicDir)
|
||||||
|
Reference in New Issue
Block a user