mirror of
https://github.com/dorny/test-reporter.git
synced 2026-02-01 02:45:22 -08:00
Merge branch 'main' into issue-208-java-junit-show-annotations-on-pr-changed-files
This commit is contained in:
10
dist/index.js
generated
vendored
10
dist/index.js
generated
vendored
@@ -1038,10 +1038,12 @@ class JavaJunitParser {
|
||||
const details = typeof failure === 'object' ? failure._ : failure;
|
||||
let filePath;
|
||||
let line;
|
||||
const src = this.exceptionThrowSource(details);
|
||||
if (src) {
|
||||
filePath = src.filePath;
|
||||
line = src.line;
|
||||
if (details != null) {
|
||||
const src = this.exceptionThrowSource(details);
|
||||
if (src) {
|
||||
filePath = src.filePath;
|
||||
line = src.line;
|
||||
}
|
||||
}
|
||||
return {
|
||||
path: filePath,
|
||||
|
||||
Reference in New Issue
Block a user