Bug Fix for sourceFiles
This commit is contained in:
@ -599,8 +599,8 @@ public class ProcessData : IProcessData
|
||||
|
||||
private void Parse(IFileRead fileRead, Logistics logistics, List<FileInfo> fileInfoCollection, ReadOnlyDictionary<string, string> pages, Complete complete)
|
||||
{
|
||||
if (!fileRead.IsEAFHosted)
|
||||
fileInfoCollection.Clear();
|
||||
if (fileRead is null)
|
||||
throw new ArgumentNullException(nameof(fileRead));
|
||||
List<string> sourceFiles = new();
|
||||
List<string> missingSlots = new();
|
||||
Dictionary<string, List<Detail>> slots = new();
|
||||
@ -610,6 +610,9 @@ public class ProcessData : IProcessData
|
||||
ParseLotSummary(logistics, pages, complete, headerFileName, slots);
|
||||
string sourcePath = Path.GetDirectoryName(logistics.ReportFullPath) ?? throw new Exception();
|
||||
string sourceFileNameWithoutExtension = Path.GetFileNameWithoutExtension(logistics.ReportFullPath);
|
||||
foreach (FileInfo fileInfo in fileInfoCollection)
|
||||
sourceFiles.Add(fileInfo.FullName);
|
||||
fileInfoCollection.Clear();
|
||||
foreach (KeyValuePair<string, string> keyValuePair in pages)
|
||||
{
|
||||
if (keyValuePair.Key == headerFileName)
|
||||
|
Reference in New Issue
Block a user