8000 Merge pull request #551 from atifaziz/info-cache · dotnet-script/dotnet-script@94741ec · GitHub
[go: up one dir, main page]

Skip to content 8000

Commit 94741ec

Browse files
authored
Merge pull request #551 from atifaziz/info-cache
Log when running from cache
2 parents c4e0d8b + 8c67160 commit 94741ec

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Dotnet.Script.Core/Commands/ExecuteScriptCommand.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ private string GetLibrary(ExecuteScriptCommandOptions executeOptions)
5353
&& TryGetHash(executionCacheFolder, out var cachedHash)
5454
&& string.Equals(hash, cachedHash))
5555
{
56+
_logger.Debug($"Using cached compilation: " + pathToLibrary);
5657
return pathToLibrary;
5758
}
5859

0 commit comments

Comments
 (0)
0