Skip to content

Commit

Permalink
remove console.log
Browse files Browse the repository at this point in the history
  • Loading branch information
jay-hodgson committed Aug 16, 2024
1 parent 3e2f2db commit 78f15b0
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion apps/synapse-portal-framework/sitemap/generate-sitemap.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ fs.readFile(`src/config/${fileName}`, (err, data) => {
previousNestingSpaceCount = spaceCount
currentNestedPath[spaceCount] = newPath
const currentPath = currentNestedPath.filter(value => value !== undefined).join('/')
console.log(`newPath: '${newPath}'`)
if (!newPath.match('^[:]slug.*')) {
fileContent += `\t<url>\n\t\t<loc>${baseUrl}/${currentPath}</loc>\n\t\t<lastmod>${now}</lastmod>\n\t</url>\n`
}
Expand Down

0 comments on commit 78f15b0

Please sign in to comment.