Fix null/undefined name issue
This commit is contained in:
@@ -93,7 +93,7 @@ export default class ComponentDetection {
|
|||||||
packages.forEach(async (pkg: ComponentDetectionPackage) => {
|
packages.forEach(async (pkg: ComponentDetectionPackage) => {
|
||||||
pkg.locationsFoundAt.forEach(async (location: any) => {
|
pkg.locationsFoundAt.forEach(async (location: any) => {
|
||||||
if (!manifests[location.filePath]) {
|
if (!manifests[location.filePath]) {
|
||||||
const manifest = new Manifest(location.filePath, location.filePath);
|
const manifest = new Manifest(location, location);
|
||||||
manifests.push(manifest);
|
manifests.push(manifest);
|
||||||
}
|
}
|
||||||
if (pkg.topLevelReferrers.length == 0) {
|
if (pkg.topLevelReferrers.length == 0) {
|
||||||
|
|||||||
Reference in New Issue
Block a user