diff --git a/docs-utils/troubleshooting-structure-adjustment.js b/docs-utils/troubleshooting-structure-adjustment.js index 8774d879e..715100a38 100644 --- a/docs-utils/troubleshooting-structure-adjustment.js +++ b/docs-utils/troubleshooting-structure-adjustment.js @@ -26,8 +26,10 @@ function moveAllTags(folderPath) { dir = `${folderPath}/${dir}` console.log(dir) if (fs.statSync(dir).isFile() && (dir.endsWith('.md') || dir.endsWith('.mdx'))) { + console.log('FILE') moveArticleTagsToFrontmatter(dir) } else { + console.log('FOLDER') moveAllTags(dir) } }