From 6aa21f425e3682f83779027b52af37b0d12524e6 Mon Sep 17 00:00:00 2001 From: Maksim Petrov Date: Mon, 30 Dec 2019 14:44:06 +0300 Subject: [PATCH] Toolcache: remove InstallTool function from Download-ToolCache.ps1 --- .../win/scripts/Installers/Download-ToolCache.ps1 | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/images/win/scripts/Installers/Download-ToolCache.ps1 b/images/win/scripts/Installers/Download-ToolCache.ps1 index 967046d09..eef9f7d96 100644 --- a/images/win/scripts/Installers/Download-ToolCache.ps1 +++ b/images/win/scripts/Installers/Download-ToolCache.ps1 @@ -20,19 +20,6 @@ Function Install-NpmPackage { npm install $Name --registry=$NpmRegistry } -Function InstallTool { - [CmdletBinding()] - param( - [System.IO.FileInfo]$ExecutablePath - ) - - Set-Location -Path $ExecutablePath.DirectoryName -PassThru | Write-Host - if (Test-Path 'tool.zip') { - Expand-Archive 'tool.zip' -DestinationPath '.' - } - cmd.exe /c 'install_to_tools_cache.bat' -} - # HostedToolCache Path $Dest = "C:/" $Path = "hostedtoolcache/windows"