Skip to content

Commit 1b2e822

Browse files
Code needs to handle more than one template library (Azure#39873)
Co-authored-by: James Suplizio <[email protected]>
1 parent 7bd6787 commit 1b2e822

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

eng/common/scripts/Package-Properties.ps1

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,9 @@ function Get-PrPkgProperties([string]$InputDiffJson) {
320320
# packages. We should never return NO validation.
321321
if ($packagesWithChanges.Count -eq 0) {
322322
$packagesWithChanges += ($allPackageProperties | Where-Object { $_.ServiceDirectory -eq "template" })
323-
$packagesWithChanges[0].IncludedForValidation = $true
323+
foreach ($package in $packagesWithChanges) {
324+
$package.IncludedForValidation = $true
325+
}
324326
}
325327

326328
return $packagesWithChanges

0 commit comments

Comments
 (0)