Add debugging

This commit is contained in:
Justin Hutchings
2022-10-04 11:57:47 -07:00
parent 1de7ecb0a7
commit d2bc2520fc
3 changed files with 5 additions and 3 deletions

View File

@@ -12,7 +12,7 @@ import {
} from '@github/dependency-submission-toolkit'
async function run() {
let manifests = await getManifestsFromSpdxFiles(await searchFiles());
let manifests = getManifestsFromSpdxFiles(await searchFiles());
let snapshot = new Snapshot({
name: "spdx-to-dependency-graph-action",
@@ -67,6 +67,7 @@ async function searchFiles() {
if (err) {
core.error(err);
} else {
core.debug(`Found ${files.length} files`);
return files;
}
});