Fix infinite recursive loop _findFileInRoot
This commit is contained in:
parent
76e2f63c5a
commit
1b6b9c2126
@ -353,11 +353,13 @@ define([
|
||||
}
|
||||
return paths;
|
||||
}
|
||||
if (isFolder(root)) {
|
||||
for (var e in root) {
|
||||
var nPath = path.slice();
|
||||
nPath.push(e);
|
||||
_findFileInRoot(nPath, file).forEach(addPaths);
|
||||
}
|
||||
}
|
||||
|
||||
return paths;
|
||||
};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user