diff --git a/windows/wp-bootstrap.ps1 b/windows/wp-bootstrap.ps1 index 5cfc8ff..fef67ce 100644 --- a/windows/wp-bootstrap.ps1 +++ b/windows/wp-bootstrap.ps1 @@ -61,9 +61,9 @@ function RandPass(){ } # Resolve script folder + absolute phar -$ScriptRoot = if ($PSScriptRoot) { $PSScriptRoot } else { Split-Path -Parent $MyInvocation.MyCommand.Definition } +$ScriptRoot = if ($PSScriptRoot) { $PSScriptRoot } else { Split-Path -Parent $MyInvocation.MyCommand.Definition } -$PharFullPath= Join-Path $ScriptRoot 'wp-cli.phar' +$PharFullPath = Join-Path $ScriptRoot 'wp-cli.phar' if (!(Test-Path $PharFullPath)) { throw "wp-cli.phar not found at: $PharFullPath" }