Debugging

This commit is contained in:
Justin Hutchings
2023-01-22 08:04:48 +00:00
parent c953ca12f5
commit 0b162f8538
3 changed files with 3 additions and 3 deletions
Generated Vendored
+1 -1
View File
@@ -23790,9 +23790,9 @@ class ComponentDetection {
const results = yield fs_1.default.readFileSync(this.outputPath, 'utf8');
var json = JSON.parse(results);
json.componentsFound.forEach((component) => __awaiter(this, void 0, void 0, function* () {
core.debug(component.name);
const packageUrl = ComponentDetection.makePackageUrl(component.component.packageUrl);
if (!packageCache.hasPackage(packageUrl)) {
core.debug(component.component.id);
const pkg = new ComponentDetectionPackage(packageUrl, component.component.id, component.isDevelopmentDependency, component.topLevelReferrers, component.locationsFoundAt, component.containerDetailIds, component.containerLayerIds);
packageCache.addPackage(pkg);
packages.push(pkg);
Generated Vendored
+1 -1
View File
File diff suppressed because one or more lines are too long