Fix: Install - gitDirty param type

This commit is contained in:
alstjr7375 2022-04-26 04:29:05 +09:00
parent 4eac9874d0
commit aa5f3c06ae

View file

@ -901,7 +901,7 @@ function Restore-File() {
[Parameter(Mandatory=$true, Position=1)] [Parameter(Mandatory=$true, Position=1)]
[string] $gitDir, [string] $gitDir,
[Parameter(Position=2)] [Parameter(Position=2)]
[switch] $gitDirty = $false [string] $gitDirty = "$false"
) )
if ( "${gitDirty}" -eq $true ) { if ( "${gitDirty}" -eq $true ) {