Resolved issue where EMS files were missed if they didnt have the expected suffix. RPS-20
This commit is contained in:
@@ -16,6 +16,11 @@ async function GetListOfEstimates() {
|
||||
const FilteredListOfSummarizedEstimates = ListOfSummarizedEstimates.filter(
|
||||
(j) => !j.ERROR
|
||||
);
|
||||
|
||||
log.log(
|
||||
"Number of estimates filtered on file scan due to error: ",
|
||||
ListOfSummarizedEstimates.length - FilteredListOfSummarizedEstimates.length
|
||||
);
|
||||
return FilteredListOfSummarizedEstimates;
|
||||
}
|
||||
|
||||
@@ -71,4 +76,4 @@ async function DeleteAllEms() {
|
||||
}
|
||||
|
||||
exports.GetListOfEstimates = GetListOfEstimates;
|
||||
exports.DeleteAllEms = DeleteAllEms
|
||||
exports.DeleteAllEms = DeleteAllEms;
|
||||
|
||||
Reference in New Issue
Block a user