Skip to content

Commit

Permalink
feat: add debug dirs
Browse files Browse the repository at this point in the history
  • Loading branch information
gz65555 committed Aug 30, 2024
1 parent 6d376cf commit 73aa761
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
5 changes: 3 additions & 2 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ export async function run(): Promise<void> {

const cwd = process.cwd()
const dirs = await fs.readdir(path.join(cwd, 'packages'))
core.debug(`dirs: ${JSON.stringify(dirs)}`)
await Promise.all(dirs.map(dir => uploadPackageJS(path.join(cwd, dir))))
} catch (error) {
core.error(JSON.stringify(error))
Expand Down

0 comments on commit 73aa761

Please sign in to comment.