소스 검색

repair powershell

IXLLEGACYIXL 2 년 전
부모
커밋
cb11e2fa5d
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      BuildDocs.ps1

+ 2 - 2
BuildDocs.ps1

@@ -101,8 +101,8 @@ function Ask-UseExistingAPI {
     Write-Host ""
 
     $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 {