Skip to content
This repository was archived by the owner on Feb 6, 2026. It is now read-only.

Commit 351cf71

Browse files
Copilotjongio
andcommitted
Fix error handling and complete Deploy-TestResources.ps1 enhancement
Co-authored-by: jongio <2163001+jongio@users.noreply.github.com>
1 parent 774ae2a commit 351cf71

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

eng/scripts/Deploy-TestResources.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ function Get-AreasToProcess {
9898
if (Test-AreaExists -AreaName $normalizedArea) {
9999
$processAreas += $normalizedArea
100100
} else {
101-
return @() # Exit early on validation failure
101+
throw "Area validation failed for '$areaName'"
102102
}
103103
}
104104
return $processAreas

0 commit comments

Comments
 (0)