monocart-coverage-reports 2.12.3 → 2.12.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1037,7 +1037,7 @@ const initOriginalList = (state, originalDecodedMap, options) => {
1037
1037
  // console.log(sourcePath);
1038
1038
 
1039
1039
  // console.log(`add source: ${k}`);
1040
- const sourceContent = sourcesContent[sourceIndex];
1040
+ const sourceContent = sourcesContent?.[sourceIndex];
1041
1041
  if (typeof sourceContent !== 'string') {
1042
1042
  Util.logError(`not found source content: ${sourcePath}`);
1043
1043
  return;