From baf91b401c0f4fc07fecce8a523e5a998a59596e Mon Sep 17 00:00:00 2001 From: PedroAntunesCosta <47991446+PedroAntunesCosta@users.noreply.github.com> Date: Tue, 12 Nov 2024 13:31:26 -0300 Subject: [PATCH] Update troubleshooting-structure-adjustment.js --- docs-utils/troubleshooting-structure-adjustment.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs-utils/troubleshooting-structure-adjustment.js b/docs-utils/troubleshooting-structure-adjustment.js index 43b78f198..24e791d93 100644 --- a/docs-utils/troubleshooting-structure-adjustment.js +++ b/docs-utils/troubleshooting-structure-adjustment.js @@ -39,8 +39,8 @@ function moveAllTags(folderPath) { async function adjustTroubleshootingContent() { console.log('Adjusting troubleshooting content...') for (locale of locales) { - const oldPath = path.join(`/docs/${locale}/tutorials/troubleshooting`) - const newPath = path.join(`/docs/${locale}/troubleshooting`) + const oldPath = path.resolve(`/docs/${locale}/tutorials/troubleshooting`) + const newPath = path.resolve(`/docs/${locale}/troubleshooting`) fs.renameSync(oldPath, newPath) moveAllTags(newPath) }