remove erroneous package inclusion during package-properties evaluation (#6346)
Co-authored-by: Scott Beddall <scbedd@microsoft.com>
This commit is contained in:
parent
514c4cc9b6
commit
713c8531db
@ -173,7 +173,7 @@ function Get-PrPkgProperties([string]$InputDiffJson) {
|
||||
|
||||
foreach ($file in $targetedFiles) {
|
||||
$filePath = (Join-Path $RepoRoot $file)
|
||||
$shouldInclude = $filePath -like "$pkgDirectory*"
|
||||
$shouldInclude = $filePath -like (Join-Path "$pkgDirectory" "*")
|
||||
if ($shouldInclude) {
|
||||
$packagesWithChanges += $pkg
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user