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 = {