Skip to content

Commit

Permalink
Fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
larsolavk committed Jan 17, 2025
1 parent 400f20b commit 1046189
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ private static string ParseEstateNameFromFileName(string filepath)
EnsureDirectory();

var files = Directory.EnumerateFiles(EstatePath);
var file = files.SingleOrDefault(f => f.Contains(estateSsn));
var file = files.SingleOrDefault(f => !f.EndsWith(MetdataPostfix) && f.Contains(estateSsn));

if (file is null) return null;

Expand Down

0 comments on commit 1046189

Please sign in to comment.