We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b983951 commit 98ae6efCopy full SHA for 98ae6ef
PhpManager/private/Get-PhpExtensionDetail.ps1
@@ -51,14 +51,13 @@
51
throw "Unable to find the file/folder $folder"
52
}
53
54
+ $somethingToInspect = $false
55
if (Test-Path -Path $folder -PathType Container) {
56
$subFiles = Get-ChildItem -Path $folder -Filter '*.dll' | Select-Object -ExpandProperty 'FullName'
- $somethingToInspect = $null -ne $subFiles -and $subFiles.Count -gt 0
57
- if ($somethingToInspect) {
+ if ($subFiles) {
58
$inspectorParameters += $subFiles
59
+ $somethingToInspect = $true
60
- } else {
61
- $somethingToInspect = $false
62
63
64
if ($somethingToInspect) {
0 commit comments