Skip to content

Commit

Permalink
feat: more logs
Browse files Browse the repository at this point in the history
  • Loading branch information
nyarthan committed Mar 13, 2024
1 parent bd446e9 commit ea1eceb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dist/main.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -22274,6 +22274,8 @@ async function getVersionFromConfigFile() {
let filepath = void 0;
for (const file of files) {
const currentPath = path.join(process.env["GITHUB_WORKSPACE"] ?? process.cwd(), file);
const files2 = await fsp.readdir(process.env["GITHUB_WORKSPACE"] ?? process.cwd());
core.info(JSON.stringify(files2));
core.info(`Path: ${currentPath}`);
try {
const stat2 = await fsp.stat(currentPath);
Expand Down
2 changes: 2 additions & 0 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ async function getVersionFromConfigFile() {

for (const file of files) {
const currentPath = path.join(process.env['GITHUB_WORKSPACE'] ?? process.cwd(), file);
const files = await fsp.readdir(process.env['GITHUB_WORKSPACE'] ?? process.cwd());
core.info(JSON.stringify(files));
core.info(`Path: ${currentPath}`);
try {
const stat = await fsp.stat(currentPath);
Expand Down

0 comments on commit ea1eceb

Please sign in to comment.