mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-26 13:19:42 +00:00
tree test
This commit is contained in:
@@ -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 };
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user