Skip to content

Commit

Permalink
Merge pull request #1266 from mikepenz/fix/1255
Browse files Browse the repository at this point in the history
Improve error log if root test suite can't be detected
  • Loading branch information
mikepenz authored Dec 13, 2024
2 parents 992d97d + e6ea251 commit a9e0371
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/testParser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ export async function parseFile(
const testsuite = report.testsuites ? report.testsuites : report.testsuite

if (!testsuite) {
core.error(`⚠️ Failed to retrieve root test suite`)
core.error(`⚠️ Failed to retrieve root test suite from file (${file})`)
return undefined
}

Expand Down

0 comments on commit a9e0371

Please sign in to comment.