Skip to content

Commit 70ad89b

Browse files
authored
Merge pull request stride3d#172 from IXLLEGACYIXL/master
Fix input variable
2 parents b021207 + 06dafa3 commit 70ad89b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

BuildDocs.ps1

+4-4
Original file line numberDiff line numberDiff line change
@@ -87,9 +87,9 @@ function Ask-IncludeAPI {
8787
Write-Host -ForegroundColor Yellow " [N] No"
8888
Write-Host ""
8989

90-
$input = Read-Host -Prompt "Your choice [Y, N, or ENTER (default is Y)]"
90+
$answer = Read-Host -Prompt "Your choice [Y, N, or ENTER (default is Y)]"
9191

92-
return ($input -eq "Y" -or $input -eq "y" -or $input -eq "")
92+
return ($answer -ieq "y" -or $answer -eq "")
9393
}
9494

9595
function Ask-UseExistingAPI {
@@ -100,9 +100,9 @@ function Ask-UseExistingAPI {
100100
Write-Host -ForegroundColor Yellow " [N] No"
101101
Write-Host ""
102102

103-
$input = Read-Host -Prompt "Your choice [Y, N, or ENTER (default is Y)]"
103+
$answer = Read-Host -Prompt "Your choice [Y, N, or ENTER (default is Y)]"
104104

105-
return ($input -eq "Y" -or $input -eq "y" -or $input -eq "")
105+
return ($answer -ieq "y" -or $answer -eq "")
106106
}
107107

108108
function Copy-ExtraItems {

0 commit comments

Comments
 (0)