Skip to content

Commit

Permalink
Update CoverageWeaveTask.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
LPeter1997 committed Sep 20, 2024
1 parent 3cc7ab4 commit 09222f5
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/Draco.Coverage.MSBuild/CoverageWeaveTask.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ public sealed class CoverageWeaveTask : Task

public override bool Execute()
{
if (string.IsNullOrWhiteSpace(this.InputPath) && string.IsNullOrWhiteSpace(this.OutputPath))
{
return true;
}

var inputPaths = ProcessPath(this.InputPath);
var outputPaths = ProcessPath(this.OutputPath);
if (inputPaths.Length != outputPaths.Length)
Expand Down

0 comments on commit 09222f5

Please sign in to comment.