mirror of
https://github.com/shivammathur/setup-php.git
synced 2024-11-22 20:01:06 +07:00
Fix tool setup on windows
This commit is contained in:
parent
44cf056ba8
commit
8185c8186b
@ -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"
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user