Skip to content

Commit ce6986e

Browse files
committed
comments
1 parent 6cf9067 commit ce6986e

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

componentDetection.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,14 +75,13 @@ export default class ComponentDetection {
7575

7676
var json: any = JSON.parse(results);
7777
json.componentsFound.forEach(async (component: any) => {
78-
// Add debug log to show components with missing packageUrl
78+
// Skip components without packageUrl
7979
if (!component.component.packageUrl) {
80-
core.debug(`Component detected without packageUrl: ${JSON.stringify({
80+
core.debug(`Skipping component detected without packageUrl: ${JSON.stringify({
8181
id: component.component.id,
8282
name: component.component.name || 'unnamed',
8383
type: component.component.type || 'unknown'
8484
}, null, 2)}`);
85-
// Skip components without packageUrl
8685
return;
8786
}
8887

0 commit comments

Comments
 (0)