Skip to content

Commit 0ece1ad

Browse files
committed
Fix variable location
1 parent c7cf563 commit 0ece1ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/devops/automation/scripts/TestResults.psm1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -509,6 +509,7 @@ function New-ParallelTestsResults {
509509
Write-Host "Test suites:"
510510
Write-Host $suites.Keys
511511

512+
$tests = [System.Collections.SortedList]::new()
512513
foreach ($kvp in $stageDep.GetEnumerator()) {
513514
$candidate = $kvp.Value
514515
if ($candidate.tests.outputs -eq $null) {
@@ -522,7 +523,6 @@ function New-ParallelTestsResults {
522523

523524
Write-Host "Outputs for $($testStage):"
524525
Write-Host $outputs
525-
$tests = [System.Collections.SortedList]::new()
526526
foreach ($name in $outputs.Keys) {
527527
if ($name.EndsWith(".TESTS_LABEL")) {
528528
$label = $outputs[$name]

0 commit comments

Comments
 (0)