tree test: back to level 5

This commit is contained in:
Joao Moreno
2018-10-02 18:36:55 +02:00
parent a55274bf18
commit e4e040c6f2

View File

@@ -17,7 +17,7 @@ async function getTree(fsPath, level) {
const element = path.basename(fsPath);
const stat = await fs.stat(fsPath);
if (!stat.isDirectory() || element === '.git' || element === '.build' || level >= 2) {
if (!stat.isDirectory() || element === '.git' || element === '.build' || level >= 5) {
return { element };
}