Skip to content

Commit

Permalink
Reformats code
Browse files Browse the repository at this point in the history
Signed-off-by: Andreas Lausen <[email protected]>
  • Loading branch information
andreaslausen committed Jun 17, 2024
1 parent f2a2aa0 commit d9116a3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ArchUnitNET/Fluent/Dependencies.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
// Copyright 2020 Pavel Fischer <[email protected]>
//
// SPDX-License-Identifier: Apache-2.0

using System.Collections.Generic;
using System.Linq;
using System.Reflection;
Expand All @@ -20,7 +21,8 @@ public static class Dependencies
public static IArchRule Check(Assembly source, IEnumerable<Assembly> target)
{
var allowedTypes = Types().That().ResideInAssembly(source);
allowedTypes = target.Aggregate(allowedTypes, (current, assembly) => current.Or().ResideInAssembly(assembly));
allowedTypes =
target.Aggregate(allowedTypes, (current, assembly) => current.Or().ResideInAssembly(assembly));

var rule = Types()
.That()
Expand Down

0 comments on commit d9116a3

Please sign in to comment.