Skip to content

Commit

Permalink
[Core] Correction régression 2.0.3 si les répertoires des modules n'e…
Browse files Browse the repository at this point in the history
…xistent pas
  • Loading branch information
gideruette committed Sep 12, 2024
1 parent 2fc09e3 commit 9727a44
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions TopModel.Generator/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -628,6 +628,10 @@ void HandleFile(FileInfo file)
static string? GetFolderHash(string path)
{
var md5 = MD5.Create();
if (!Directory.Exists(path))
{
return null;
}

var files = Directory.GetFiles(path, "*", SearchOption.AllDirectories).OrderBy(p => p).ToList();
foreach (var file in files)
Expand Down

0 comments on commit 9727a44

Please sign in to comment.