remove warning about early-access (#35516)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user