Skip to content

Commit b602df1

Browse files
committed
Proper filter
1 parent 1af0044 commit b602df1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

powershell-adapter/psDscAdapter/win_psDscAdapter.psm1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -578,7 +578,7 @@ function GetClassBasedProperties {
578578
return @('get', 'set', 'test')
579579
}
580580

581-
$module = Get-ChildItem (Split-Path $filePath -Parent) -Filter *.psm1 -File | Select-Object -First 1 -ExpandProperty FullName
581+
$module = Get-ChildItem -Path (Split-Path $filePath -Parent) -Filter *.psm1 -File | Select-Object -First 1 -ExpandProperty FullName
582582

583583
$properties = [System.Collections.Generic.List[DscResourcePropertyInfo]]::new()
584584

0 commit comments

Comments
 (0)