tree test

This commit is contained in:
Joao Moreno
2018-09-27 10:54:20 +02:00
parent d2fd43d8a2
commit 27086e07b6

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 >= 4) {
if (!stat.isDirectory() || element === '.git' || element === '.build' || level >= 5) {
return { element };
}