From dffe2dcf8bf95f4d822d1ccaf26ed37bb6e7fa5c Mon Sep 17 00:00:00 2001 From: "Eugen [WebDucer] Richter" Date: Sun, 28 Jul 2024 19:49:26 +0200 Subject: [PATCH] Add debug output --- src/main.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main.ts b/src/main.ts index 0d9cc7b..282c130 100644 --- a/src/main.ts +++ b/src/main.ts @@ -12,7 +12,10 @@ export async function run(): Promise { try { // Get file name from input const lcovFileName = core.getInput('lcov-file') + const excludeFiles = core.getInput('exclude-files') // Check, the file name is set and exists + core.debug(`File name: ${lcovFileName}`) + core.debug(`Exclusion: ${excludeFiles}`) if (!lcovFileName) { core.setFailed('File name is required') return @@ -22,7 +25,6 @@ export async function run(): Promise { return } - const excludeFiles = core.getInput('exclude-files') const excludedFilesArray = excludeFiles ? excludeFiles.split(',') : [] const parserConf: LcovParserConfigType = {