From 07cc2b19cd16c4e66b0eaa1ef66bf941435ea20d Mon Sep 17 00:00:00 2001 From: Azure SDK Bot <53356347+azure-sdk@users.noreply.github.com> Date: Tue, 11 Feb 2025 14:07:00 -0800 Subject: [PATCH] Support Linux environment (#6410) Co-authored-by: Chidozie Ononiwu --- eng/common/scripts/Detect-Api-Changes.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eng/common/scripts/Detect-Api-Changes.ps1 b/eng/common/scripts/Detect-Api-Changes.ps1 index cdfc3cfae..ab508f90e 100644 --- a/eng/common/scripts/Detect-Api-Changes.ps1 +++ b/eng/common/scripts/Detect-Api-Changes.ps1 @@ -105,7 +105,7 @@ $responses = @{} $packageProperties = Get-ChildItem -Recurse -Force "$configFileDir" ` | Where-Object { - $_.Extension -eq '.json' -and ($_.FullName.Substring($configFileDir.Length + 1) -notmatch '^_.*?\\') + $_.Extension -eq '.json' -and ($_.FullName.Substring($configFileDir.Length + 1) -notmatch '^_.*?[\\\/]') } foreach ($packagePropFile in $packageProperties)