Skip to content

Commit

Permalink
fix($theme-default): remove error logs for nested sidebar groups (#2191)
Browse files Browse the repository at this point in the history
  • Loading branch information
KieranHunt authored Mar 18, 2020
1 parent 27275ee commit c3a943c
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions packages/@vuepress/theme-default/util/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -222,11 +222,6 @@ function resolveItem (item, pages, base, groupDepth = 1) {
title: item[1]
})
} else {
if (groupDepth > 3) {
console.error(
'[vuepress] detected a too deep nested sidebar group.'
)
}
const children = item.children || []
if (children.length === 0 && item.path) {
return Object.assign(resolvePage(pages, item.path, base), {
Expand Down

0 comments on commit c3a943c

Please sign in to comment.