Compile change
This commit is contained in:
+2
-3
@@ -36170,14 +36170,13 @@ class ComponentDetection {
|
|||||||
const results = yield fs_1.default.readFileSync(this.outputPath, 'utf8');
|
const results = yield fs_1.default.readFileSync(this.outputPath, 'utf8');
|
||||||
var json = JSON.parse(results);
|
var json = JSON.parse(results);
|
||||||
json.componentsFound.forEach((component) => __awaiter(this, void 0, void 0, function* () {
|
json.componentsFound.forEach((component) => __awaiter(this, void 0, void 0, function* () {
|
||||||
// Add debug log to show components with missing packageUrl
|
// Skip components without packageUrl
|
||||||
if (!component.component.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,
|
id: component.component.id,
|
||||||
name: component.component.name || 'unnamed',
|
name: component.component.name || 'unnamed',
|
||||||
type: component.component.type || 'unknown'
|
type: component.component.type || 'unknown'
|
||||||
}, null, 2)}`);
|
}, null, 2)}`);
|
||||||
// Skip components without packageUrl
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
const packageUrl = ComponentDetection.makePackageUrl(component.component.packageUrl);
|
const packageUrl = ComponentDetection.makePackageUrl(component.component.packageUrl);
|
||||||
|
|||||||
+1
-1
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user