Merge pull request 'B2026-039-Error-sequence-contains-no-elements' (#802) from B2026-039-Error-sequence-contains-no-elements into Development

good for testing
This commit was merged in pull request #802.
This commit is contained in:
2026-08-11 08:46:39 -04:00
+1 -1
View File
@@ -503,7 +503,7 @@ namespace Baseline
string[] fileList = Directory.GetFiles(fi.DirectoryName, patern); string[] fileList = Directory.GetFiles(fi.DirectoryName, patern);
// sort the list of file list // sort the list of file list
Array.Sort((string[])fileList); Array.Sort((string[])fileList);
return fileList.First(); // the PDF file that we what should be top of the list then. return fileList.FirstOrDefault(); // the PDF file that we what should be top of the list then.
} }
/// <summary> /// <summary>