Skip to content

Commit b983951

Browse files
authored
Fix retrieving extension list when there's no extension (#128)
1 parent eff9481 commit b983951

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PhpManager/private/Get-PhpExtensionDetail.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
}
5454
if (Test-Path -Path $folder -PathType Container) {
5555
$subFiles = Get-ChildItem -Path $folder -Filter '*.dll' | Select-Object -ExpandProperty 'FullName'
56-
$somethingToInspect = $subFiles.Count -gt 0
56+
$somethingToInspect = $null -ne $subFiles -and $subFiles.Count -gt 0
5757
if ($somethingToInspect) {
5858
$inspectorParameters += $subFiles
5959
}

0 commit comments

Comments
 (0)