Skip to content

Commit cb11e2f

Browse files
author
IXLLEGACYIXL
committed
repair powershell
1 parent 4d0eb88 commit cb11e2f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

BuildDocs.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,8 @@ function Ask-UseExistingAPI {
101101
Write-Host ""
102102

103103
$input = Read-Host -Prompt "Your choice [Y, N, or ENTER (default is Y)]"
104-
105-
return (Read-Host -Prompt "Your choice (Y/N)").ToLower() -eq "y"
104+
105+
return ($input -eq "Y" -or $input -eq "y" -or $input -eq "")
106106
}
107107

108108
function Copy-ExtraItems {

0 commit comments

Comments
 (0)