Skip to content

Commit

Permalink
Merge pull request #17 from RobertvanderHulst/main
Browse files Browse the repository at this point in the history
The excludedTypeNames local should not be initialized from the Assemb…
  • Loading branch information
aelij authored Jan 31, 2024
2 parents 223212e + 5b58716 commit 47fbd6e
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,11 @@ public override bool Execute()
return true;
}

var excludedTypeNames = new HashSet<string>(AssemblyNames.Select(t => t.ItemSpec), StringComparer.OrdinalIgnoreCase);
var excludedTypeNames = new HashSet<string>(StringComparer.OrdinalIgnoreCase);
if (ExcludeTypeNames != null)
{
excludedTypeNames = new HashSet<string>(ExcludeTypeNames.Select(t => t.ItemSpec), StringComparer.OrdinalIgnoreCase);
}

var targetPath = IntermediateOutputPath;
Directory.CreateDirectory(targetPath);
Expand Down

0 comments on commit 47fbd6e

Please sign in to comment.