mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Merge pull request #7477 from overleaf/em-bad-filetree
Fix bad filetree script GitOrigin-RevId: 8f9b7d94c717b21b2183d43fdccf4564408f71fa
This commit is contained in:
parent
b765aa40b0
commit
8ce9330a00
1 changed files with 1 additions and 0 deletions
|
@ -43,6 +43,7 @@ function findBadPaths(folder) {
|
|||
for (const [i, subfolder] of folder.folders.entries()) {
|
||||
if (!subfolder) {
|
||||
result.push(`folders.${i}`)
|
||||
continue
|
||||
}
|
||||
for (const badPath of findBadPaths(subfolder)) {
|
||||
result.push(`folders.${i}.${badPath}`)
|
||||
|
|
Loading…
Reference in a new issue