Skip to content

Commit f541a99

Browse files
azure-sdkbenbp
andauthored
Fix matrix CI tests (#1517)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
1 parent 23a1831 commit f541a99

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

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)