We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 34c4e50 commit 69fecafCopy full SHA for 69fecaf
src/coverlet.core/Coverage.cs
@@ -151,7 +151,7 @@ public CoverageResult GetCoverageResult()
151
}
152
153
var coverageResult = new CoverageResult { Identifier = _identifier, Modules = modules };
154
- if (!string.IsNullOrEmpty(_mergeWith) && !string.IsNullOrWhiteSpace(_mergeWith))
+ if (!string.IsNullOrEmpty(_mergeWith) && !string.IsNullOrWhiteSpace(_mergeWith) && File.Exists(_mergeWith))
155
{
156
string json = File.ReadAllText(_mergeWith);
157
coverageResult.Merge(JsonConvert.DeserializeObject<Modules>(json));
0 commit comments