Closed waf closed 1 year ago
Attention: 2 lines
in your changes are missing coverage. Please review.
Comparison is base (
ba21d40
) 77.4% compared to head (f0478df
) 77.4%.
Files | Patch % | Lines |
---|---|---|
CSharpRepl.Services/Nuget/ConsoleNugetLogger.cs | 94.1% | 0 Missing and 2 partials :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Add some locking to prevent multithreading-related errors in ConsoleNugetLogger.
There could be some more interesting ways of solving this (e.g. immutable collections, or concurrent collections with snapshotting), but let's just try some good ol' fashioned locking first.
Fixes #311. Note that the nuget package mentioned in that issue doesn't actually appear to be installable in .NET 8 (I believe it's an issue with the package, as opposed to an issue with CSharpRepl). But this PR fixes the exception mentioned in that issue.