diff --git a/eng/scripts/Language-Settings.ps1 b/eng/scripts/Language-Settings.ps1 index e6784efa94a04..81d436ebb45ca 100644 --- a/eng/scripts/Language-Settings.ps1 +++ b/eng/scripts/Language-Settings.ps1 @@ -29,7 +29,7 @@ function Get-AllPackageInfoFromRepo([string]$serviceDirectory = $null) { if ($serviceDirectory) { $searchPath = Join-Path $sdkRoot $serviceDirectory Write-Host "searchPath=$searchPath" - [array]$ymlFiles = Get-ChildItem -Path $searchPath "ci*.yml" | Where-Object { $_.PSIsContainer -eq $false} + [array]$ymlFiles = Get-ChildItem -Recurse -Path $searchPath "ci*.yml" | Where-Object { $_.PSIsContainer -eq $false} } else { # The reason for the exclude folders are POM only releases (nothing is built) or # the service directory sits outside of the engineering system