Skip to content

Commit

Permalink
Update index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
PedroAntunesCosta committed Sep 20, 2024
1 parent 162ac5b commit f84c4bc
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -771,20 +771,20 @@ ${textPT}
const filePath = fileSubcategoryFolder ? path.join(subcategoryFolder, fileNameEN).replace(": ", " - ") : fileSubFolder ? path.join(subFolder, fileNameEN).replace(": ", " - ") : path.join(baseFolder, fileNameEN).replace(": ", " - ");
if (subFolder){
if (subFolder.endsWith(' ')) {
console.log(subFolder)
console.log('subFolder: ',subFolder)
}
}
if (subcategoryFolder){
if (subcategoryFolder.endsWith(' ')) {
console.log(subcategoryFolder)
console.log('subcategoryFolder: ',subcategoryFolder)
}
}
if (filePath){
if (filePath.endsWith(' ')) {
console.log(filePath)
console.log('filepath: ',filePath)
}
}

// Array of folders to create
const foldersToCreate = [localeFolder, baseFolder, subFolder, subcategoryFolder].filter(Boolean);

Expand Down

0 comments on commit f84c4bc

Please sign in to comment.