Skip to content

Commit

Permalink
Code needs to handle more than one template library (#44416)
Browse files Browse the repository at this point in the history
Co-authored-by: James Suplizio <jasupliz@microsoft.com>
  • Loading branch information
azure-sdk and JimSuplizio authored Feb 26, 2025
1 parent aa599ca commit 3879e6f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion eng/common/scripts/Package-Properties.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,9 @@ function Get-PrPkgProperties([string]$InputDiffJson) {
# packages. We should never return NO validation.
if ($packagesWithChanges.Count -eq 0) {
$packagesWithChanges += ($allPackageProperties | Where-Object { $_.ServiceDirectory -eq "template" })
$packagesWithChanges[0].IncludedForValidation = $true
foreach ($package in $packagesWithChanges) {
$package.IncludedForValidation = $true
}
}

return $packagesWithChanges
Expand Down

0 comments on commit 3879e6f

Please sign in to comment.