|
|
@@ -96,11 +96,13 @@ function Ask-UseExistingAPI {
|
|
|
Write-Host ""
|
|
|
Write-Host -ForegroundColor Cyan "Do you want to use already generated API metadata?"
|
|
|
Write-Host ""
|
|
|
- Write-Host -ForegroundColor Yellow " [Y] Yes"
|
|
|
+ Write-Host -ForegroundColor Yellow " [Y] Yes or ENTER"
|
|
|
Write-Host -ForegroundColor Yellow " [N] No"
|
|
|
Write-Host ""
|
|
|
|
|
|
- return (Read-Host -Prompt "Your choice (Y/N)").ToLower() -eq "y"
|
|
|
+ $input = Read-Host -Prompt "Your choice [Y, N, or ENTER (default is Y)]"
|
|
|
+
|
|
|
+ return ($input -eq "Y" -or $input -eq "y" -or $input -eq "")
|
|
|
}
|
|
|
|
|
|
function Copy-ExtraItems {
|