🐞 fix: Code cleanup
This commit is contained in:
@@ -63,7 +63,7 @@ function RandPass(){
|
||||
# Resolve script folder + absolute phar
|
||||
$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" }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user