Skip to content

Commit 4298efc

Browse files
committed
fix environment var name reference
1 parent a71274d commit 4298efc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

testscripts/cleanup.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@ foreach ($resourceGroupName in $resourceGroups) {
378378
Remove-DiagnosticSettingsForResourceGroup -ResourceGroupName $resourceGroupName
379379
}
380380

381-
if ($azdConfig['AZURE_ENV_NAME'] -eq "dev") {
381+
if ($azdConfig['ENVIRONMENT'] ?? 'dev' -eq "dev") {
382382
# when performing dev cleanup there are no dependencies between resource groups
383383
# exitig at this point allows AZD to handle the tear down responsibilities
384384
"`nCleanup complete." | Write-Output

0 commit comments

Comments
 (0)