File tree Expand file tree Collapse file tree 1 file changed +1
-8
lines changed Expand file tree Collapse file tree 1 file changed +1
-8
lines changed Original file line number Diff line number Diff line change @@ -185,14 +185,7 @@ function Get-PrPkgProperties([string]$InputDiffJson) {
185185 $targetedFiles += $diff.DeletedFiles
186186 }
187187
188- # The exclude paths and the targeted files paths aren't full OS paths, they're
189- # GitHub paths meaning they're relative to the repo root and slashes are forward
190- # slashes "/". The ExcludePaths need to have a trailing slash added in order
191- # correctly test for string matches without overmatching. For example, if a pr
192- # had files sdk/foo/file1 and sdk/foobar/file2 with the exclude of anything in
193- # sdk/foo, it should only exclude things under sdk/foo. The TrimEnd is just in
194- # case one of the paths ends with a slash, it doesn't add a second one.
195- $excludePaths = $diff.ExcludePaths | ForEach-Object { $_.TrimEnd (" /" ) + " /" }
188+ $excludePaths = $diff.ExcludePaths
196189
197190 $additionalValidationPackages = @ ()
198191 $lookup = @ {}
You can’t perform that action at this time.
0 commit comments