Skip to content

Commit

Permalink
Fixing some of the debug code to give better deets
Browse files Browse the repository at this point in the history
  • Loading branch information
manchicken committed Jun 30, 2023
1 parent fac9ae7 commit 99c23ec
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -478,7 +478,9 @@ const inputsToRegistryDocument = async () => {
.filter((fieldName) => !!core.getInput(fieldName))
.map((fieldName) => {
const mapping = mapField(fieldName, version)(core.getInput(fieldName))
core.debug(`Field ${fieldName} maps to output: ${mapping}`)
core.debug(
`Field ${fieldName} maps to output: ${JSON.stringify(mapping)}`,
)
return mapping
}),
)
Expand Down
4 changes: 3 additions & 1 deletion lib/input-to-registry-document.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,9 @@ const inputsToRegistryDocument = async () => {
.filter((fieldName) => !!core.getInput(fieldName))
.map((fieldName) => {
const mapping = mapField(fieldName, version)(core.getInput(fieldName))
core.debug(`Field ${fieldName} maps to output: ${mapping}`)
core.debug(
`Field ${fieldName} maps to output: ${JSON.stringify(mapping)}`,
)
return mapping
}),
)
Expand Down

0 comments on commit 99c23ec

Please sign in to comment.