This commit is contained in:
Chad Bentz
2025-05-09 05:34:00 +00:00
parent 6cf906749f
commit ce6986e485
+2 -3
View File
@@ -75,14 +75,13 @@ export default class ComponentDetection {
var json: any = JSON.parse(results);
json.componentsFound.forEach(async (component: any) => {
// Add debug log to show components with missing packageUrl
// Skip components without packageUrl
if (!component.component.packageUrl) {
core.debug(`Component detected without packageUrl: ${JSON.stringify({
core.debug(`Skipping component detected without packageUrl: ${JSON.stringify({
id: component.component.id,
name: component.component.name || 'unnamed',
type: component.component.type || 'unknown'
}, null, 2)}`);
// Skip components without packageUrl
return;
}