|
@@ -101,6 +101,7 @@ function Ask-UseExistingAPI {
|
|
|
Write-Host ""
|
|
Write-Host ""
|
|
|
|
|
|
|
|
$input = Read-Host -Prompt "Your choice [Y, N, or ENTER (default is Y)]"
|
|
$input = Read-Host -Prompt "Your choice [Y, N, or ENTER (default is Y)]"
|
|
|
|
|
+
|
|
|
return (Read-Host -Prompt "Your choice (Y/N)").ToLower() -eq "y"
|
|
return (Read-Host -Prompt "Your choice (Y/N)").ToLower() -eq "y"
|
|
|
}
|
|
}
|
|
|
|
|
|
|
@@ -459,6 +460,7 @@ else {
|
|
|
$ReuseAPI = Ask-UseExistingAPI
|
|
$ReuseAPI = Ask-UseExistingAPI
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
} elseif ($isCanceled) {
|
|
} elseif ($isCanceled) {
|
|
|
Write-Host -ForegroundColor Red "Operation canceled by user."
|
|
Write-Host -ForegroundColor Red "Operation canceled by user."
|
|
|
Stop-Transcript
|
|
Stop-Transcript
|