From d9150c2e4441608b09cb7ea0ae76e824662035e1 Mon Sep 17 00:00:00 2001 From: Joon Ro Date: Mon, 6 Jun 2022 13:25:46 +0900 Subject: [PATCH] Remove duplicated $ParentName setting --- src/FileInfo.ps1 | 1 - 1 file changed, 1 deletion(-) 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