Skip to content

Commit

Permalink
Add debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
ego93 authored Sep 25, 2024
1 parent dd47c33 commit d0b4612
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,13 @@ async function run(): Promise<void> {
throw new Error(`Unknown mode: ${mode}`)
}

if (modules.length && ignored) {
core.debug(`Found modules before ignore:${modules.map((module) => `\n- ${module}`)}`)
}

if (ignored) {
const globs = ignored.split('\n').map((item) => item.trim())
core.debug(`Globs to ignore: ${globs}`)
modules = ignore().add(globs).filter(modules)
}

Expand Down

0 comments on commit d0b4612

Please sign in to comment.