We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fcbb6f3 commit c61646aCopy full SHA for c61646a
eng/common/scripts/Package-Properties.ps1
@@ -114,10 +114,12 @@ function Get-PrPkgProperties([string]$InputDiffJson) {
114
115
foreach($pkg in $allPackageProperties)
116
{
117
+ $pkgDirectory = Resolve-Path "$($pkg.DirectoryPath)"
118
+
119
foreach($file in $targetedFiles)
120
121
$filePath = Resolve-Path (Join-Path $RepoRoot $file)
- $shouldInclude = $filePath -like "$($pkg.DirectoryPath)*"
122
+ $shouldInclude = $filePath -like "$pkgDirectory*"
123
if ($shouldInclude) {
124
$packagesWithChanges += $pkg
125
}
0 commit comments