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

3
dist/index.js generated vendored
View File

@@ -21850,7 +21850,7 @@ const glob = __nccwpck_require__(1957);
async function run() {
let manifests = await getManifestsFromSpdxFiles(await searchFiles());
let manifests = getManifestsFromSpdxFiles(await searchFiles());
let snapshot = new _github_dependency_submission_toolkit__WEBPACK_IMPORTED_MODULE_0__.Snapshot({
name: "spdx-to-dependency-graph-action",
@@ -21905,6 +21905,7 @@ async function searchFiles() {
if (err) {
core.error(err);
} else {
core.debug(`Found ${files.length} files`);
return files;
}
});

2
dist/index.js.map generated vendored

File diff suppressed because one or more lines are too long

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;
}
});