Merge pull request #7477 from overleaf/em-bad-filetree

Fix bad filetree script

GitOrigin-RevId: 8f9b7d94c717b21b2183d43fdccf4564408f71fa
This commit is contained in:
Eric Mc Sween
2022-04-08 09:07:56 -04:00
committed by Copybot
parent b68e2522ae
commit 10b5055f1d
@@ -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}`)