Skip to content

Commit

Permalink
make it static
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikEJ committed Feb 5, 2025
1 parent 7c46853 commit f50f4bd
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/Core/efcpt.8/HostedServices/ScaffoldHostedService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,13 @@ private static void ShowErrors(ReverseEngineerResult result)
}
}

private static List<string> GetFileNames(ReverseEngineerResult result)
{
var paths = new List<string> { result.ContextFilePath };
paths = [.. paths, .. result.ContextConfigurationFilePaths, .. result.EntityTypeFilePaths];
return paths;
}

private List<string> GetPaths(ReverseEngineerResult result)
{
var paths = new List<string> { Path.GetDirectoryName(result.ContextFilePath) };
Expand All @@ -177,13 +184,6 @@ private List<string> GetPaths(ReverseEngineerResult result)
return paths;
}

private List<string> GetFileNames(ReverseEngineerResult result)
{
var paths = new List<string> { result.ContextFilePath };
paths = [.. paths, .. result.ContextConfigurationFilePaths, .. result.EntityTypeFilePaths];
return paths;
}

private void GenerateMermaidContent(bool generate)
{
if (!generate)
Expand Down

0 comments on commit f50f4bd

Please sign in to comment.