Skip to content

Commit

Permalink
Add debug output
Browse files Browse the repository at this point in the history
  • Loading branch information
WebDucer committed Jul 28, 2024
1 parent 4a60787 commit dffe2dc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,10 @@ export async function run(): Promise<void> {
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
Expand All @@ -22,7 +25,6 @@ export async function run(): Promise<void> {
return
}

const excludeFiles = core.getInput('exclude-files')
const excludedFilesArray = excludeFiles ? excludeFiles.split(',') : []

const parserConf: LcovParserConfigType = {
Expand Down

0 comments on commit dffe2dc

Please sign in to comment.