From 9daa8a8087f133bb3a95f90ccd73518922e74e31 Mon Sep 17 00:00:00 2001 From: PedroAntunesCosta <47991446+PedroAntunesCosta@users.noreply.github.com> Date: Tue, 12 Nov 2024 11:41:45 -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 29488ff16..599a6784c 100644 --- a/docs-utils/troubleshooting-structure-adjustment.js +++ b/docs-utils/troubleshooting-structure-adjustment.js @@ -38,8 +38,8 @@ function moveAllTags(folderPath) { async function adjustTroubleshootingContent() { console.log('Adjusting troubleshooting content') for (locale of locales) { - const oldPath = `../docs/${locale}/tutorials/troubleshooting` - const newPath = `../docs/${locale}/troubleshooting` + const oldPath = path.join(__dirname,`../docs/${locale}/tutorials/troubleshooting`) + const newPath = path.join(__dirname,`../docs/${locale}/troubleshooting`) fs.renameSync(oldPath, newPath) moveAllTags(newPath) }