Code needs to handle more than one template library (#6436)
Co-authored-by: James Suplizio <jasupliz@microsoft.com>
This commit is contained in:
parent
c7deb5a0a8
commit
b538bd9935
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user