Fix list-dir-tree.ps1

This commit is contained in:
Markus Fleschutz 2021-04-16 17:23:18 +02:00
parent 4de2d69d8f
commit 8fe002a867

View File

@ -18,7 +18,7 @@ function ListDir { param([string]$Directory, [int]$Depth)
write-host -nonewline "+--"
}
write-host -foregroundColor green "📂$Filename"
VisualizeDirectory "$Directory\$Filename" $Depth
ListDir "$Directory\$Filename" $Depth
$global:NumDirs++
} else {
for ($i = 1; $i -lt $Depth; $i++) {