From ce6986e4858faaf58f8a90b0a14771e3707ec4d4 Mon Sep 17 00:00:00 2001 From: Chad Bentz <1760475+felickz@users.noreply.github.com> Date: Fri, 9 May 2025 05:34:00 +0000 Subject: [PATCH] comments --- componentDetection.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/componentDetection.ts b/componentDetection.ts index 6abaf04..a5cdcb1 100644 --- a/componentDetection.ts +++ b/componentDetection.ts @@ -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; }