Skip to content

Commit

Permalink
fix(Runner): duplicated configuration files result in warnings
Browse files Browse the repository at this point in the history
The fix is to just make sure the found configuration files are distinct.
  • Loading branch information
Christopher - Marcel Böddecker committed Oct 15, 2019
1 parent ee71510 commit 727c8ad
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Sources/FodyRunner/Runner.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ public void Configure(

IReadOnlyList<XDocument> documents = configurationSearchPaths.SelectMany(
path => Directory.GetFiles(path, "FodyWeavers.xml", SearchOption.AllDirectories))
.Distinct()
.Select(XDocument.Load)
.ToList();
IReadOnlyList<XElement> runnerElements = documents.SelectMany(
Expand Down

0 comments on commit 727c8ad

Please sign in to comment.