Fix null/undefined name issue

This commit is contained in:
Justin Hutchings
2023-01-22 08:24:44 +00:00
parent fed20cbef6
commit 87e0640748
+1 -1
View File
@@ -93,7 +93,7 @@ export default class ComponentDetection {
packages.forEach(async (pkg: ComponentDetectionPackage) => {
pkg.locationsFoundAt.forEach(async (location: any) => {
if (!manifests[location.filePath]) {
const manifest = new Manifest(location.filePath, location.filePath);
const manifest = new Manifest(location, location);
manifests.push(manifest);
}
if (pkg.topLevelReferrers.length == 0) {