debugging empty manifests section

This commit is contained in:
Justin Hutchings
2023-01-22 08:20:54 +00:00
parent 3495b4b367
commit fed20cbef6
3 changed files with 6 additions and 3 deletions

3
dist/index.js generated vendored
View File

@@ -23937,8 +23937,9 @@ function run() {
correlator: `${github.context.job}`,
id: github.context.runId.toString()
});
core.debug(`Manifests: ${manifests}`);
core.debug(`Manifests: ${manifests === null || manifests === void 0 ? void 0 : manifests.length}`);
manifests === null || manifests === void 0 ? void 0 : manifests.forEach(manifest => {
core.debug(`Manifest: ${JSON.stringify(manifest)}`);
snapshot.addManifest(manifest);
});
(0, dependency_submission_toolkit_1.submitSnapshot)(snapshot);

2
dist/index.js.map generated vendored

File diff suppressed because one or more lines are too long

View File

@@ -26,8 +26,10 @@ async function run() {
id: github.context.runId.toString()
});
core.debug(`Manifests: ${manifests}`);
core.debug(`Manifests: ${manifests?.length}`);
manifests?.forEach(manifest => {
core.debug(`Manifest: ${JSON.stringify(manifest)}`);
snapshot.addManifest(manifest);
});