Skip to content

Commit 472f0e4

Browse files
azure-sdkbenbp
andauthored
Fix matrix CI tests (#34327)
Co-authored-by: Ben Broderick Phillips <[email protected]>
1 parent b299960 commit 472f0e4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

eng/common/scripts/job-matrix/job-matrix-functions.ps1

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -338,6 +338,9 @@ function ProcessReplace {
338338
$replaceMatrix = @()
339339

340340
foreach ($element in $matrix) {
341+
if (!$element -or $element.Count -eq 0) {
342+
continue
343+
}
341344
$replacement = [MatrixParameter[]]@()
342345
if (!$element -or $element.Count -eq 0) {
343346
continue

0 commit comments

Comments
 (0)