Debugging failure
This commit is contained in:
@@ -57,7 +57,6 @@ export default class ComponentDetection {
|
||||
|
||||
private static async getManifestsFromResults(): Promise<Manifest[]| undefined> {
|
||||
core.info("Getting manifests from results");
|
||||
try {
|
||||
// Parse the result file and add the packages to the package cache
|
||||
const packageCache = new PackageCache();
|
||||
const packages: Array<ComponentDetectionPackage>= [];
|
||||
@@ -104,10 +103,6 @@ export default class ComponentDetection {
|
||||
});
|
||||
});
|
||||
return manifests;
|
||||
} catch (error: any) {
|
||||
core.error(error);
|
||||
return undefined;
|
||||
}
|
||||
}
|
||||
|
||||
private static getDependencyScope(pkg: ComponentDetectionPackage) {
|
||||
|
||||
+1
-6
@@ -23783,7 +23783,6 @@ class ComponentDetection {
|
||||
static getManifestsFromResults() {
|
||||
return __awaiter(this, void 0, void 0, function* () {
|
||||
core.info("Getting manifests from results");
|
||||
try {
|
||||
// Parse the result file and add the packages to the package cache
|
||||
const packageCache = new dependency_submission_toolkit_1.PackageCache();
|
||||
const packages = [];
|
||||
@@ -23826,11 +23825,6 @@ class ComponentDetection {
|
||||
}));
|
||||
}));
|
||||
return manifests;
|
||||
}
|
||||
catch (error) {
|
||||
core.error(error);
|
||||
return undefined;
|
||||
}
|
||||
});
|
||||
}
|
||||
static getDependencyScope(pkg) {
|
||||
@@ -23943,6 +23937,7 @@ function run() {
|
||||
correlator: `${github.context.job}`,
|
||||
id: github.context.runId.toString()
|
||||
});
|
||||
core.debug(`Manifests: ${manifests}`);
|
||||
manifests === null || manifests === void 0 ? void 0 : manifests.forEach(manifest => {
|
||||
snapshot.addManifest(manifest);
|
||||
});
|
||||
|
||||
+1
-1
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user