From d0b46124552f47048268157ecefe4f11eae86800 Mon Sep 17 00:00:00 2001 From: Ed <32328035+ego93@users.noreply.github.com> Date: Wed, 25 Sep 2024 12:52:26 +0100 Subject: [PATCH] Add debugging --- src/main.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/main.ts b/src/main.ts index f397a00..73a6b08 100644 --- a/src/main.ts +++ b/src/main.ts @@ -28,8 +28,13 @@ async function run(): Promise { 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) }