Fix tool setup on windows

This commit is contained in:
Shivam Mathur 2020-11-26 07:32:04 +05:30
parent 44cf056ba8
commit 8185c8186b
No known key found for this signature in database
GPG Key ID: 3E13E4C8591ACC2A

View File

@ -212,8 +212,7 @@ Function Add-Tool() {
} elseif($tool -eq "wp-cli") { } elseif($tool -eq "wp-cli") {
Copy-Item $php_dir\wp-cli.bat -Destination $php_dir\wp.bat Copy-Item $php_dir\wp-cli.bat -Destination $php_dir\wp.bat
} }
$tool_version = Get-ToolVersion $tool $ver_param Add-Log $tick $tool "Added"
Add-Log $tick $tool "Added $tool $tool_version"
} else { } else {
Add-Log $cross $tool "Could not add $tool" Add-Log $cross $tool "Could not add $tool"
} }