From ae620ac8e07111feed871d7341603b9201d5308b Mon Sep 17 00:00:00 2001 From: PedroAntunesCosta <47991446+PedroAntunesCosta@users.noreply.github.com> Date: Mon, 11 Nov 2024 14:37:13 -0300 Subject: [PATCH] Update troubleshooting-structure-adjustment.js --- docs-utils/troubleshooting-structure-adjustment.js | 2 ++ 1 file changed, 2 insertions(+) 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) } }