Skip to content

Commit

Permalink
logging
Browse files Browse the repository at this point in the history
  • Loading branch information
haarg committed Sep 13, 2024
1 parent f695318 commit c047759
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/get-prereqs.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ export const getPrereqs = async ({
for (const source of sources) {
const content = await fs.readFile(source, { encoding: 'utf8' }).catch(e => {
if (e.code === 'ENOENT') {
console.log(`Can't find ${source}`);
return null;
}
else {
Expand Down
2 changes: 2 additions & 0 deletions src/main.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ const run = async () => {
sources,
});

console.log([perl, prereqs]);

if (perl) {
core.setOutput('perl', dottedVersion(perl));
}
Expand Down

0 comments on commit c047759

Please sign in to comment.