Merge remote-tracking branch 'origin/hotfix/v5.0.7' into develop

This commit is contained in:
ElenaSubbotina
2017-12-13 15:12:19 +03:00
2 changed files with 14 additions and 4 deletions

View File

@ -10,7 +10,7 @@ function Download-File
$downloadRequired = $true
if (Test-Path $file)
{
$localModified = (Get-Item $file).LastWriteTime
$localModified = (Get-Item $file).CreationTime
$webRequest = [System.Net.HttpWebRequest]::Create($url)
$webRequest.Method = "HEAD"
$webResponse = $webRequest.GetResponse()