From 8185c8186be8196dd58df28fc40d87c1e8baf64f Mon Sep 17 00:00:00 2001 From: Shivam Mathur Date: Thu, 26 Nov 2020 07:32:04 +0530 Subject: [PATCH] Fix tool setup on windows --- src/scripts/win32.ps1 | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/scripts/win32.ps1 b/src/scripts/win32.ps1 index 103ad9cd..60fd091e 100644 --- a/src/scripts/win32.ps1 +++ b/src/scripts/win32.ps1 @@ -212,8 +212,7 @@ Function Add-Tool() { } elseif($tool -eq "wp-cli") { Copy-Item $php_dir\wp-cli.bat -Destination $php_dir\wp.bat } - $tool_version = Get-ToolVersion $tool $ver_param - Add-Log $tick $tool "Added $tool $tool_version" + Add-Log $tick $tool "Added" } else { Add-Log $cross $tool "Could not add $tool" }