Skip to content

Commit

Permalink
Ignore Cleipnir.ResilientFunctions git-submodule in cli
Browse files Browse the repository at this point in the history
  • Loading branch information
stidsborg committed Apr 27, 2024
1 parent d5466dd commit c64bca5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Cleipnir.Flows.Cli/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,9 @@ private static int Main(string[] args)
private static IEnumerable<string> FindAllProjects(string path)
{
var currPathProjects = Directory.GetFiles(path, "*.csproj");
var subFolders = Directory.GetDirectories(path);
var subFolders = Directory
.GetDirectories(path)
.Where(d => !d.Contains("Cleipnir.ResilientFunctions"));
return currPathProjects.Concat(subFolders.SelectMany(FindAllProjects)).ToList();
}

Expand Down

0 comments on commit c64bca5

Please sign in to comment.