Skip to content

Commit e1b512a

Browse files
remove redundant variable
1 parent a70e1fa commit e1b512a

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

PSModuleDevelopment/functions/utility/Search-PSMDPropertyValue.ps1

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,6 @@
6969

7070
foreach ($property in $Object.PSObject.Properties)
7171
{
72-
if ($path) { $tempPath = $path, $property.Name -join "." }
73-
else { $tempPath = $property.Name }
7472
if ($Match)
7573
{
7674
if ($property.Value -match $Value)

0 commit comments

Comments
 (0)