Skip to content

Commit f45d764

Browse files
committed
Fix manifest duplication bug
1 parent 7cf27a1 commit f45d764

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

componentDetection.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ export default class ComponentDetection {
9191
// Check the locationsFoundAt for every package and add each as a manifest
9292
packages.forEach(async (pkg: ComponentDetectionPackage) => {
9393
pkg.locationsFoundAt.forEach(async (location: any) => {
94-
if (!manifests[location.filePath]) {
94+
if (!manifests[location]) {
9595
const manifest = new Manifest(location, location);
9696
manifests.push(manifest);
9797
}

dist/index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)