Browse Source

repair powershell

IXLLEGACYIXL 2 years ago
parent
commit
cb11e2fa5d
1 changed files with 2 additions and 2 deletions
  1. 2 2
      BuildDocs.ps1

+ 2 - 2
BuildDocs.ps1

@@ -101,8 +101,8 @@ 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 ($input -eq "Y" -or $input -eq "y" -or $input -eq "")
 }
 }
 
 
 function Copy-ExtraItems {
 function Copy-ExtraItems {