mirror of
				https://github.com/shivammathur/setup-php.git
				synced 2025-10-31 15:26:23 +07:00 
			
		
		
		
	Fix tool setup on windows
This commit is contained in:
		| @ -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" | ||||||
|   } |   } | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user
	 Shivam Mathur
					Shivam Mathur