Skip to content

Commit 874efd4

Browse files
committed
remove last exit as for now
1 parent 7e8f015 commit 874efd4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

azd-hooks/scripts/hooks/preprovision/run_preconfig.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ Write-Host "Checking if RS_CONTAINER_NAME environment variable exists..."
146146
try {
147147
Write-Host $LASTEXITCODE
148148
$rsContainerName = '$env:RS_CONTAINER_NAME'
149-
if ($LASTEXITCODE -eq 0 -and $rsContainerName) {
149+
if ($rsContainerName) {
150150
Write-Host "✓ RS_CONTAINER_NAME environment variable exists with value: $rsContainerName"
151151

152152
# Check if the value is not empty or null

0 commit comments

Comments
 (0)