Skip to content

Commit

Permalink
MonoAOTCompiler.cs: fix regression in caching, which breaks increment…
Browse files Browse the repository at this point in the history
…al (#73427)

.. builds.

#72394 disabled the cache always,
even when it was intended to be used. This reverses that change.

Fixes #73419
  • Loading branch information
radical authored Aug 5, 2022
1 parent 608e516 commit 205efd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tasks/Common/FileCache.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public FileCache(string? cacheFilePath, TaskLoggingHelper log)
return;
}

//Enabled = true;
Enabled = true;
if (File.Exists(cacheFilePath))
{
_oldCache = (CompilerCache?)JsonSerializer.Deserialize(File.ReadAllText(cacheFilePath),
Expand Down

0 comments on commit 205efd4

Please sign in to comment.