diff --git a/lib/create-tree.js b/lib/create-tree.js index 046d9493f9..2bdab9a95c 100644 --- a/lib/create-tree.js +++ b/lib/create-tree.js @@ -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