Skip to content

Commit

Permalink
HACK: check for readonly folders
Browse files Browse the repository at this point in the history
need to rewrite this properly
  • Loading branch information
mfkl committed Nov 13, 2020
1 parent 06d1faf commit 5d2c27a
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,9 @@ public bool Sha512Exists(string sha512Path)
exists = true;
}

if(exists && _updateLastWriteTime)
#pragma warning disable CA1307
if(exists && _updateLastWriteTime && !sha512Path.Contains("NuGetFallbackFolder") && !sha512Path.Contains("UWPNuGetPackages"))
#pragma warning restore CA1307
{
var now = DateTime.UtcNow;

Expand Down

0 comments on commit 5d2c27a

Please sign in to comment.