Skip to content

Commit 6ddbeb3

Browse files
KieranHuntsergeylarionov-upwork
authored andcommitted
fix($theme-default): remove error logs for nested sidebar groups (vuejs#2191)
1 parent 32966d7 commit 6ddbeb3

File tree

1 file changed

+0
-5
lines changed
  • packages/@vuepress/theme-default/util

1 file changed

+0
-5
lines changed

packages/@vuepress/theme-default/util/index.js

-5
Original file line numberDiff line numberDiff line change
@@ -222,11 +222,6 @@ function resolveItem (item, pages, base, groupDepth = 1) {
222222
title: item[1]
223223
})
224224
} else {
225-
if (groupDepth > 3) {
226-
console.error(
227-
'[vuepress] detected a too deep nested sidebar group.'
228-
)
229-
}
230225
const children = item.children || []
231226
if (children.length === 0 && item.path) {
232227
return Object.assign(resolvePage(pages, item.path, base), {

0 commit comments

Comments
 (0)