Skip to content

Commit a9e0371

Browse files
authored
Merge pull request #1266 from mikepenz/fix/1255
Improve error log if root test suite can't be detected
2 parents 992d97d + e6ea251 commit a9e0371

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

dist/index.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/testParser.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ export async function parseFile(
217217
const testsuite = report.testsuites ? report.testsuites : report.testsuite
218218

219219
if (!testsuite) {
220-
core.error(`⚠️ Failed to retrieve root test suite`)
220+
core.error(`⚠️ Failed to retrieve root test suite from file (${file})`)
221221
return undefined
222222
}
223223

0 commit comments

Comments
 (0)