Skip to content

Commit a66dd2f

Browse files
Support Linux environment (Azure#39668)
Co-authored-by: Chidozie Ononiwu <[email protected]>
1 parent 910aea0 commit a66dd2f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

eng/common/scripts/Detect-Api-Changes.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ $responses = @{}
105105

106106
$packageProperties = Get-ChildItem -Recurse -Force "$configFileDir" `
107107
| Where-Object {
108-
$_.Extension -eq '.json' -and ($_.FullName.Substring($configFileDir.Length + 1) -notmatch '^_.*?\\')
108+
$_.Extension -eq '.json' -and ($_.FullName.Substring($configFileDir.Length + 1) -notmatch '^_.*?[\\\/]')
109109
}
110110

111111
foreach ($packagePropFile in $packageProperties)

0 commit comments

Comments
 (0)