diff --git a/src/DotnetDiffCoverage/Output/JsonReporter.cs b/src/DotnetDiffCoverage/Output/JsonReporter.cs index 757d54c..1732c09 100644 --- a/src/DotnetDiffCoverage/Output/JsonReporter.cs +++ b/src/DotnetDiffCoverage/Output/JsonReporter.cs @@ -15,6 +15,11 @@ public sealed class JsonReporter public async Task WriteAsync(CrossReferenceResult result, Stream stream) { + if (result == null) + { + return; + } + var report = new { summary = new