mirror of
https://github.com/kamranahmedse/developer-roadmap.git
synced 2025-08-29 12:10:22 +02:00
Add debug info
This commit is contained in:
@@ -26,6 +26,8 @@ let contentPath = path.join(
|
|||||||
`${topicPath}.md`,
|
`${topicPath}.md`,
|
||||||
);
|
);
|
||||||
|
|
||||||
|
console.log(contentPath);
|
||||||
|
|
||||||
// Check if file exists
|
// Check if file exists
|
||||||
if (!fs.existsSync(contentPath)) {
|
if (!fs.existsSync(contentPath)) {
|
||||||
const indexFilePath = path.join(
|
const indexFilePath = path.join(
|
||||||
|
Reference in New Issue
Block a user