1
0
mirror of synced 2025-12-23 21:07:12 -05:00

remove warning about early-access (#35516)

This commit is contained in:
Peter Bengtsson
2023-03-13 11:00:46 -04:00
committed by GitHub
parent 4246cac21f
commit 4f3201efdf

View File

@@ -114,7 +114,9 @@ export default async function createTree(originalPath, rootPath, previousTree) {
// (early exit instead of returning a tree). So let's
// mutate the `page.children` so we can benefit from the
// ability to reload the site tree on consective requests.
console.warn(`Remove ${child} from ${item.page.children}`)
if (child !== 'early-access') {
console.warn(`Remove '${child}' from ${item.page.children}`)
}
item.page.children = item.page.children.filter((c) => c !== child)
}
return subTree