Skip to content

Commit

Permalink
chocolatey-visualstudio.extension: make Get-ChocolateyWebFile re-down…
Browse files Browse the repository at this point in the history
…load a stale cached file

GitHub-Issue: GH-7 GH-8 GH-10 GH-26
  • Loading branch information
jberezanski committed May 15, 2018
1 parent 5751f8a commit 611354c
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -31,6 +31,7 @@ function Get-VSManifest
else
{
Write-Verbose ("Found cached file '{0}' last updated on {1:yyyy-MM-dd HH:mm:ss} UTC which is outside the allowed 1-day window (now is {2:yyyy-MM-dd HH:mm:ss} UTC)" -f $localFilePath, $localFile.LastWriteTimeUtc, (Get-Date).ToUniversalTime())
Remove-Item -Path $localFile
}

$fileInLayout = $null
Expand Down

0 comments on commit 611354c

Please sign in to comment.