mirror of
https://github.com/fleschutz/PowerShell.git
synced 2024-11-23 00:13:36 +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 -nonewline "+--"
|
||||||
}
|
}
|
||||||
write-host -foregroundColor green "📂$Filename"
|
write-host -foregroundColor green "📂$Filename"
|
||||||
VisualizeDirectory "$Directory\$Filename" $Depth
|
ListDir "$Directory\$Filename" $Depth
|
||||||
$global:NumDirs++
|
$global:NumDirs++
|
||||||
} else {
|
} else {
|
||||||
for ($i = 1; $i -lt $Depth; $i++) {
|
for ($i = 1; $i -lt $Depth; $i++) {
|
||||||
|
Loading…
Reference in New Issue
Block a user