remove erroneous package inclusion during package-properties evaluation (#6346)

Co-authored-by: Scott Beddall <scbedd@microsoft.com>
This commit is contained in:
Azure SDK Bot 2025-01-14 16:07:16 -08:00 committed by GitHub
parent 514c4cc9b6
commit 713c8531db
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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