Skip to content

Commit

Permalink
Update troubleshooting-structure-adjustment.js
Browse files Browse the repository at this point in the history
  • Loading branch information
PedroAntunesCosta committed Nov 12, 2024
1 parent 25609d7 commit baf91b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs-utils/troubleshooting-structure-adjustment.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit baf91b4

Please sign in to comment.