Skip to content

Commit 1a5eb29

Browse files
authored
Add trailing slash exclude paths (Azure#48391)
1 parent 17a3ef7 commit 1a5eb29

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

eng/scripts/Language-Settings.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ function Get-dotnet-AdditionalValidationPackagesFromPackageSet {
167167
# The targetedFiles needs to filter out anything in the ExcludePaths
168168
# otherwise it'll end up processing things below that it shouldn't be.
169169
foreach ($excludePath in $diffObj.ExcludePaths) {
170-
$targetedFiles = $targetedFiles | Where-Object { -not $_.StartsWith($excludePath.TrimEnd("/") + "/") }
170+
$targetedFiles = $targetedFiles | Where-Object { -not $_.StartsWith($excludePath) }
171171
}
172172

173173
# this section will identify

sdk/pullrequest.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ pr:
1111
- "*"
1212

1313
exclude:
14-
- eng/packages/http-client-csharp
14+
- eng/packages/http-client-csharp/
1515

1616
parameters:
1717
- name: Service

0 commit comments

Comments
 (0)