Add debugging

This commit is contained in:
Justin Hutchings
2024-03-03 05:48:33 +00:00
parent 764e39e792
commit 43286afc54
3 changed files with 3 additions and 1 deletions

1
dist/index.js generated vendored
View File

@@ -1073,6 +1073,7 @@ function getDepsDevProjectData(projectKeyId) {
const response = yield fetch(url);
if (response.ok) {
const data = yield response.json();
core.debug(`Got deps.dev project data: ${JSON.stringify(data)}`);
return schemas_1.DepsDevProjectSchema.parse(data);
}
else {

2
dist/index.js.map generated vendored

File diff suppressed because one or more lines are too long

View File

@@ -75,6 +75,7 @@ async function getDepsDevProjectData(
const response = await fetch(url)
if (response.ok) {
const data = await response.json()
core.debug(`Got deps.dev project data: ${JSON.stringify(data)}`)
return DepsDevProjectSchema.parse(data)
} else {
throw new Error(