diff --git a/src/FileInfo.ps1 b/src/FileInfo.ps1 index 863d40f..a310c5a 100644 --- a/src/FileInfo.ps1 +++ b/src/FileInfo.ps1 @@ -34,7 +34,6 @@ function FileInfo { If ($Script:LastParentName -ne $ParentName) { $Color = $GetChildItemColorTable.File['Directory'] - $ParentName = $Item.PSParentPath.Replace("Microsoft.PowerShell.Core\FileSystem::", "") Write-Host Write-Host " Directory: " -noNewLine