From 371369c4b20e8e5f622f2a9a8f5ebcf7b0cf6d2b Mon Sep 17 00:00:00 2001 From: Dmitry Shibanov Date: Tue, 11 Feb 2020 11:08:28 +0300 Subject: [PATCH] fix name --- images/win/scripts/Installers/Install-Firefox.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/images/win/scripts/Installers/Install-Firefox.ps1 b/images/win/scripts/Installers/Install-Firefox.ps1 index 6ba79f09..cb6f8e81 100644 --- a/images/win/scripts/Installers/Install-Firefox.ps1 +++ b/images/win/scripts/Installers/Install-Firefox.ps1 @@ -46,12 +46,12 @@ if (-not (Test-Path -Path $FireFoxDriverPath)) { New-Item -Path $FireFoxDriverPath -ItemType "directory" } -$DestFile = "$FireFoxDriverPath\$name" +$DestFile = "$FireFoxDriverPath\$DriversZipFile" $EdgeDriverDownloadUrl = $geckodriverWindowsAsset.browser_download_url try{ Invoke-WebRequest -Uri $EdgeDriverDownloadUrl -OutFile $DestFile } catch { - Write-Error "[!] Failed to download $name" + Write-Error "[!] Failed to download $DriversZipFile" exit 1 }