mirror of
https://github.com/kamranahmedse/developer-roadmap.git
synced 2025-08-23 09:22:52 +02:00
fix: topic path
This commit is contained in:
committed by
Kamran Ahmed
parent
179cefe4da
commit
9ec3c1fb9d
@@ -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