From 5577a3369cf90da3c68dce83afeebdf6b9f4e8e6 Mon Sep 17 00:00:00 2001 From: Chidozie Ononiwu Date: Wed, 29 Jan 2025 18:42:06 -0800 Subject: [PATCH] test Changes manually --- eng/common/scripts/Detect-Api-Changes.ps1 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/eng/common/scripts/Detect-Api-Changes.ps1 b/eng/common/scripts/Detect-Api-Changes.ps1 index 8b8121df65d5..2d60806685b3 100644 --- a/eng/common/scripts/Detect-Api-Changes.ps1 +++ b/eng/common/scripts/Detect-Api-Changes.ps1 @@ -104,7 +104,14 @@ if (!($FindArtifactForApiReviewFn -and (Test-Path "Function:$FindArtifactForApiR $responses = @{} $packageProperties = Get-ChildItem -Recurse -Force "$configFileDir" ` - | Where-Object { $_.Extension -eq '.json' -and $_.FullName -notmatch '\\_.*?\\' } + | ForEach-Object { + $normalizedPath = $_.FullName -replace '\\', '/' + Write-Host "Processing: $normalizedPath" + if ($_.Extension -eq '.json' -and $normalizedPath -notlike '*/_*/*') { + Write-Host "Included: $normalizedPath" + $_ + } + } Write-Host "Package Properties: $($packageProperties.Count)" Write-Host "$packageProperties"