Skip to content

Commit 5f373a4

Browse files
committed
Fixing circular reference issues
1 parent 5a1af84 commit 5f373a4

File tree

3 files changed

+2
-6
lines changed

3 files changed

+2
-6
lines changed

componentDetection.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ export default class ComponentDetection {
6969
const packageUrl = ComponentDetection.makePackageUrl(component.component.packageUrl);
7070

7171
if (!packageCache.hasPackage(packageUrl)) {
72-
const pkg = new ComponentDetectionPackage(packageUrl, component.component.id,
72+
const pkg = new ComponentDetectionPackage(packageUrl, component.component.id,
7373
component.isDevelopmentDependency,component.topLevelReferrers,component.locationsFoundAt, component.containerDetailIds, component.containerLayerIds);
7474
packageCache.addPackage(pkg);
7575
packages.push(pkg);
@@ -86,7 +86,6 @@ export default class ComponentDetection {
8686
}
8787
});
8888
});
89-
core.debug(JSON.stringify(packages));
9089

9190
// Create manifests
9291
const manifests: Array<Manifest> = [];
@@ -104,7 +103,6 @@ export default class ComponentDetection {
104103
manifests.find((manifest: Manifest) => manifest.file == location.filePath)?.addIndirectDependency(pkg, ComponentDetection.getDependencyScope(pkg)); }
105104
});
106105
});
107-
core.debug(JSON.stringify(manifests));
108106
return manifests;
109107
} catch (error: any) {
110108
core.error(error);

dist/index.js

Lines changed: 0 additions & 2 deletions
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)