mirror of
https://github.com/fleschutz/PowerShell.git
synced 2024-11-22 16:03:22 +01:00
Fix list-dir-tree.ps1
This commit is contained in:
parent
4de2d69d8f
commit
8fe002a867
@ -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++) {
|
||||
|
Loading…
Reference in New Issue
Block a user